Kitz Forum
Chat => Games => Forum Games => Topic started by: kitz on June 04, 2006, 04:56:19 PM
-
<embed src="http://www.freebloggames.com/games/fishy.fbg" type="application/x-shockwave-flash" height="350" width="500"></embed><br><a target="_blank" href="http://www.freebloggames.com" title="MySpace Codes">click</a>
-
grr ok.. Im not having much luck with embedding flash.
I'll have a look at this some other time and see what I can do.
-
Kitz,
Delete the above games, do the yes to HTML, put back game and keep fingers crossed.
-
Ive deliberately turned off html for now since I couldnt seem to get it working earlier.
Ive seen there are a couple of PHPBB mods that will hopefully allow flash in forum posts, so when I get chance I will install those.
Thanks Stan :)
-
Test ignore this
http://www.kitz.co.uk
test links (http://www.kitz.co.uk)
-
:sick:
-
Hi Kitz,
I couldn't decide where to post this, so here I am.
Is there any chance of moving the "All Unread Topics" icon on the front page, (the bottom one)
Maybe a little further toward the centre of the page/line?
As this is directly above the "Mark All Messages As Read" icon, it is easy to hit the wrong one.
Hope you don't mind this suggestion. :hmm:
Phil
-
Is this a game we can all play? :lol:
-
But of course, it's called, find the unread topic/post because I just pressed the wrong button "again" :doh:
-
lol - do you know Id never noticed that there before.
I normally use the one under "Hello kitz" - "Show all unread posts since last visit".
Sorry phil- its not something I can easily change since thats laid out in the basic forum software options - nor is it in the general template, which is what I used to create my own design thingy.
There probably is something in the forum source code I could change somewhere (with SMF you can edit more or less most things if you are that way inclined). But theres tons of templates and I cant quite see where it would be changed right now.
-
Thanks Kitz, but not to worry any-way.
I'll just have to be more careful in the future. 8)
But I just thought it may of also been of interest to you.
-
If there was a quick fix...
or even if there was some code I could change in the "kitz template" then I'd certainly look at doing that when I had some time to move things about.
But its in the main source stuff somewhere - which also means that everytime theres a forum upgrade it would probably get over-ridden.
Like I say there probably is something somewhere I could do because SMF is so flexible - its just finding which bit in a hell of a lot of code which needs changing. If I get bored one day.................
-
> If I get bored one day.................
In that case, I can't see it happening :lol:
But thanks again for the thought. :hug:
-
lmfao... you got it.... :D
I spent almost half an hour looking through the existing templates and trying to find the linky thing that you meant - cause I couldnt see it half the time for some reason... I was even logging in using some test accounts I have and still couldnt see the damn thing.
-
Just in case you need it, as I'm not sure if this is what you can't find. (Bottom right-hand corner) All Unread Topics
But please don't bother on my behalf.
(https://forum.kitz.co.uk/proxy.php?request=http%3A%2F%2Fi92.photobucket.com%2Falbums%2Fl39%2Foldfogy%2FScreenHunter_01Feb.jpg&hash=557f24d4140a7eb16bda153d35d78aeba42c251a)
-
note to self
<tr class="titlebg">
<td colspan="7" align="right" class="middletext"><a href="http://forum.kitz.co.uk/index.php?action=unread;all;start=0">All Unread Topics</a></td>
</tr>
Find where this is generated.
-
alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a>
<span class="smalltext">
', $topic['last_post']['time'], '<br />
', $txt[525], ' ', $topic['last_post']['member']['link'], '
</span>
</td>
</tr>';
}
echo '
</table>
</td></tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="middletext" valign="middle">' . $txt[139] . ': ' . $context['page_index'] . '</td>';
if (isset($context['topics_to_mark']) && !empty($settings['show_mark_read']))
echo '
<td align="right" style="padding-right: 1ex;">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
', template_button_strip($mark_read, 'top'), '
</tr>
</table>
</td>';
echo '
</tr>
</table><br />
smf_1-1-2_install\Themes\default
recent.template.php
line 325
-
chris...
If youre reading this will you do me a favour please...
done a search on all 90 odd php files and I cant find anything with a reference to "All Unread Topics"
However looking the the files I came across the above.... and for the life of me I cant see where the hell its being generated.
$topic['last_post']['time'], '<br />
', $txt[525], ' ', $topic['last_post']['member']['link'], '
</span>
is the end of the built array for the list of unread posts which displays the who/when posted by in the right col of the table.
Then it seems to go straight over to
<td class="middletext" valign="middle">' . $txt[139] . ': ' . $context['page_index'] . '</td>';
if (isset($context['topics_to_mark']) && !empty($settings['show_mark_read']))
which generates the page no .... and then the "Mark all messages as read" Button.
Please Please confirm theres nothing inbetween those 2 statements...... or am I being blind as a bleedin bat.
Anyway its too late so Im calling it a night.
-
whoops - just realised forgot I was logged on as another account to look at the code
doh :doh:
-
:sleep:
-
Not pretending to totally understand how it works... but I think I may have found the cure - I just need someone to log on and post something now to see if what I've done works - there's no point in explaining it all if I've got it wrong hehe :P
-
Woohoo ;D
Like you kitz searching for the text "All unread topics" yielded nada... but having done a bit of phpbb hacking in the past I knew that text was probably stored in some language file or even in the database somewhere, to allow for easier language translation, so I was expecting not to find anything there.
What I did look for was a key phrase in the HTML code that I hoped wouldn't be repeated in many places - 'td colspan="7" align="right"' - which took me eventually to Recent.template.php line 177-180:
echo '
<tr class="titlebg">
<td colspan="7" align="right" class="middletext"><a href="', $scripturl, '?action=unread;all', $context['querystring_board_limits'], '">', $txt['unread_topics_all'], '</a></td>
</tr>';
which looked to be a pretty good match :)
What I did then was copy Recent.template.php into the KitzTheme folder (to be a good boy!) and change it there. And it appears to have worked :)
It was a simple case then of changing "right" to "center" obviously.
Incidentally, the "All Unread Topics" text is stored in the array $txt['unread_topics_all'] and is defined on line 518 of Themes/default/language/index.english.php - much as I suspected.
The part in Recent.template.php you were looking at (line 325 area) is the part that is displayed when you click "show new replies to your posts" rather than just "unread posts since last visit"
-
Now it's in the middle, would it be better to change the text to say "Show All Unread Topics" or "View All Unread Topics" or something, rather than just "All Unread Topics" which looks more like a title than a hyperlink.
-
test for center align
-
Thanks hon.. was searching for ages but could see it
All sorted now - appreciated
*will buy you a pint next time I see you*
:drink:
-
Thats brilliant, thanks.
The amount of time I have gone to hit the "Show All Unread Topics" only to find my cursor was not in the exact spot and it selected "Mark all threads read" obviously then I had no way of finding out what was read or not.
*will buy you both a pint next time I see you* :drink:
As per usual, your devotion to your site and members pails beyond belief.
me thinks I had better go now. :hug:
-
I'm lost in admiration :-*
-
Thats the difference between some sites.
Some listen and do nothing. 8)
Some listen and say sorry no can do. Whether it can or can't. :tongue:
Some listen and go out of their way to see if it can be done, and if it can, they do it. :thumbs: