PDA

View Full Version : Blasts... if only I knew SOMETHING about PHP (request)


16 Jul 2000, 02:08
How would I go about having the "Post" icon be automatically selected in new replies and new threads? I removed the No icon and now there isn't an icon that is automatically selected. :(

16 Jul 2000, 02:21
This should be plain HTML, shouldn't it??

16 Jul 2000, 02:31
Well not exactly. The template posticonbit says:

<input type="radio" name="iconid" value="$iconid" $iconchecked>&nbsp;&nbsp;<img src="$iconpath" height="15" width="15" align="abscenter" alt="$alttext">

My guess would be that something needs to be set for $iconchecked. Like if it's a new topic/reply icon01 is automatically selected.

Seeing how I don't know a single thing about PHP, I can't do this. :(

*goes to stalk ed*

16 Jul 2000, 02:51
Wow, simple simple simple :)

find, in global.php:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



replace with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

16 Jul 2000, 02:58
Thank you. :)

16 Jul 2000, 03:10
Its the small little hacks like these that make me love this software, but hey, the big PM type hacks are great and dandy too :D