Log in Register FAQ Memberlist Search Welcome to RCF - New Forum Index
alt : test.swf
Welcome to RCF - New
4fx3.gif 
Contact the Webmasters of RCFContact   Invite a friend to Join usRecommend   Chat in IRCChat   EZ Template Change OptionEZStyle   Listen to Internet Radio while you browse...iRadio   See your private message.Login for PMs   Important LinksLinks
Member Website LinksWeb Links   Play/View our GamesGames   Register.Register
calendar_open_closeCalendar 
A mod request for NightRider (if possible)
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - New Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
A mod request for NightRider (if possible)
PostPosted: 01/04/2010 12:04 PM Reply with quote
Sparrow
cavallino
Sparrow
Posts 21
Word Cnt. 2,213
BDay N/A
Sign N/A
Joined: Dec 11, 2005
Local time: 3:39 AM
blank.gif
Hello Nightrider! its good to be back in this forum...and sorry if I come back only and everytime i need help..  Rolling Eyes but anyway you're one of the best php and phpbb2 related coders i've ever met over the net soooo.... Wink
Also i noticed that since I've been here for the last time you've still made many modifications to this board, and now its as great as fast...as always, congrats for it.

Now.. lets get to the point.
Do you know about the existance of a phpbb2 "thread starter" mod in viewtopic page?
I think it would be nice to show a thread starter message and icon everytime the thread starter replies to his/her own started topic...

Have a look at this sample to see what i mean:
http://www.tiamatsfangs.com/thread.php?postid=3744
In the 3rd and follow message you can see what I mean.. a thread starter message and little image in mini-profile view, to remind that the user started the topic.

Searching for a possible mod, I just found a discussion on phpbb official board:
http://www.phpbb.com/community/viewtopic.php?f=72&t=1376915
Well, the trick code reported HERE seems for phpbb3 but can you adapt it to our beloved phpbb2?

Thanks!
Back to Top
View user's profile Find all posts by cavallino Send private message  
Re: A mod request for NightRider (if possible)
PostPosted: 01/04/2010 7:24 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:39 AM
Location: St Pete, FL
peace.gif
Welcome back cavallino!!!

Yes, that should be easy enough to create a MOD that can be installed and work in phpBB2.  I've never heard of that MOD but it should be a fairly simple one to create.  I'll see what I can do for you...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: A mod request for NightRider (if possible)
PostPosted: 01/04/2010 7:47 PM Reply with quote
Sparrow
cavallino
Sparrow
Posts 21
Word Cnt. 2,213
BDay N/A
Sign N/A
Joined: Dec 11, 2005
Local time: 3:39 AM
blank.gif
Thanks Nightrider, and take your time for it!
I know i can always count on your precious help Smile
And maybe you will find this mod useful also here, I think it's not that bad as idea! Smile
Back to Top
View user's profile Find all posts by cavallino Send private message  
Re: A mod request for NightRider (if possible)
PostPosted: 01/05/2010 5:04 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:39 AM
Location: St Pete, FL
peace.gif
Ok, I created a Thread Starter MOD and installed it on our Vanilla board.  You can check it out and see if this is what you had in mind:

Test Forum 1

Let me know if this is what you had in mind or if there is anything that you want me to adjust or change or add.  If you like that, you can try installing this into your community, preferably using EasyMod.  The MOD is designed to be EM Friendly and designed for phpBB 2.0.24 but will probably install easily into earlier versions as well.  This is the download link:

ThreadStarter_100.zip

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: A mod request for NightRider (if possible)
PostPosted: 01/06/2010 8:35 AM Reply with quote
Sparrow
cavallino
Sparrow
Posts 21
Word Cnt. 2,213
BDay N/A
Sign N/A
Joined: Dec 11, 2005
Local time: 3:39 AM
blank.gif
Thanks so much NightRider!!
that's exactly what I had in mind, and it was so easy and quick to install thanks to your instructions.

When you wrote "designed for phpBB 2.0.24" you meant 2.0.23 version or... there has been new patch that I am missing?? Smile

Thanks again for this mod and have a great day
Back to Top
View user's profile Find all posts by cavallino Send private message  
Re: A mod request for NightRider (if possible)
PostPosted: 01/06/2010 3:44 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:39 AM
Location: St Pete, FL
peace.gif
There is actually an unofficial update released after phpBB2 was abandoned.  This fixes a few more phpBB2 security problems.  After installing it, you would get the warning message in your ACP that your install is not up to date again since version 2.0.24 is not registered in the phpbb.com database:



This can be quickly and easily installed using EM...

phpBB-2.0.24-codechanges.zip

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: A mod request for NightRider (if possible)
PostPosted: 01/07/2010 11:30 AM Reply with quote
Sparrow
cavallino
Sparrow
Posts 21
Word Cnt. 2,213
BDay N/A
Sign N/A
Joined: Dec 11, 2005
Local time: 3:39 AM
blank.gif
Thanks for the tip!!
I have just tried to apply the codechanges... it took me quite some time but almost at the end, I have only a problem with my viewtopic.php file. I don't know if you can help me NightRider...
I try to explain:

in phpbb-2.0.23_to_2.0.24.txt instructions, for viewtopic.php we have:

Code:
#
#-----[ FIND ]---------------------------------------------
#
   $topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a>&nbsp;';

#
#-----[ REPLACE WITH ]---------------------------------------------
#
   $topic_mod .= '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a>&nbsp;';

#
#-----[ FIND ]---------------------------------------------
#
   $topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a>&nbsp;';

#
#-----[ REPLACE WITH ]---------------------------------------------
#
   $topic_mod .= '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a>&nbsp;';

#
#-----[ FIND ]---------------------------------------------
#
   $topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a>&nbsp;' : "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a>&nbsp;';

#
#-----[ REPLACE WITH ]---------------------------------------------
#
   $topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a>&nbsp;' : '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a>&nbsp;';

#
#-----[ FIND ]---------------------------------------------
#
   $topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a>&nbsp;';

#
#-----[ REPLACE WITH ]---------------------------------------------
#
   $topic_mod .= '<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a>&nbsp;';


While in my messed up by mods viewtopic.php I have:

Code:
   $topic_mod .= "<a onclick=\"return AJAXTopicDelete($topic_id, '". $lang['Confirm_delete_topic'] ."');\" href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;mode=delete&amp;sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= "<a onclick=\"return AJAXTopicMoveSelect();\" href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;mode=move&amp;sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? "<a id=\"topic_locklink\" onclick=\"return AJAXLockTopic($topic_id, 1);\" href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;mode=lock&amp;sid=" . $userdata['session_id'] . '"><img id="topic_lockimg" src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a>&nbsp;' : "<a id=\"topic_locklink\" onclick=\"return AJAXLockTopic($topic_id, 0);\" href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;mode=unlock&amp;sid=" . $userdata['session_id'] . '"><img id="topic_lockimg" src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a>&nbsp;&nbsp;';

   $topic_mod .= "<a href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=multi_del&sid=" . $userdata['session_id'] . '"><img src="' . $images['topic_mod_multi_delete'] . '" alt="' . $lang['Delete_multiple_posts'] . '" title="' . $lang['Delete_multiple_posts'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= ( $forum_topic_data['topic_type'] != 1 ) ? "<a id=\"sticky_link\" onclick=\"return AJAXTopicTypeChange($topic_id, 1);\" href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;mode=sticky&amp;sid=" . $userdata['session_id'] . '"><img id="sticky_img" src="' . $images['topic_mod_sticky'] . '" alt="' . $lang['Post_Sticky'] . '" title="' . $lang['Post_Sticky'] . '" border="0" /></a>&nbsp;' : "<a id=\"sticky_link\" onclick=\"return AJAXTopicTypeChange($topic_id, 0);\" href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;mode=unsticky&amp;sid=" . $userdata['session_id'] . '"><img id="sticky_img" src="' . $images['topic_mod_unsticky'] . '" alt="' . $lang['Post_Normal'] . '" title="' . $lang['Post_Normal'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= ( $forum_topic_data['topic_type'] != 2 ) ? "<a id=\"announce_link\" onclick=\"return AJAXTopicTypeChange($topic_id, 2);\" href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;mode=announce&amp;sid=" . $userdata['session_id'] . '"><img id="announce_img" src="' . $images['topic_mod_announce'] . '" alt="' . $lang['Post_Announcement'] . '" title="' . $lang['Post_Announcement'] . '" border="0" /></a>&nbsp;' : "<a id=\"announce_link\" onclick=\"return AJAXTopicTypeChange($topic_id, 0);\" href=\"modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&amp;mode=unannounce&amp;sid=" . $userdata['session_id'] . '"><img id="announce_img" src="' . $images['topic_mod_unannounce'] . '" alt="' . $lang['Post_Normal'] . '" title="' . $lang['Post_Normal'] . '" border="0" /></a>&nbsp;';


Nightrider, do you think I should give up with this update?  Rolling Eyes
All the other code-changes are okay, its just this I dont understand... maybe you can give me a little help over this?
Back to Top
View user's profile Find all posts by cavallino Send private message  
Re: A mod request for NightRider (if possible)
PostPosted: 01/07/2010 8:01 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:39 AM
Location: St Pete, FL
peace.gif
Actually this update wasn't designed to be easily installed into every forum.  It was designed to install easily into clean vanilla forums.  It is a mistake to design a MOD that takes long lines of code and replace them with different code because a lot of sites aren't running unmodified code...

If you are using EM to install this, I can really clean this section up to install easily into your forum.  Let me know if you are using EM to install this...

You don't have to install this but it wouldn't hurt if you did...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: A mod request for NightRider (if possible)
PostPosted: 01/07/2010 9:06 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30756
Word Cnt. 2,628,677
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 4:39 AM
Location: St Pete, FL
peace.gif
Ok, you can try this code.  This should work for most modified forums and is EM friendly.  Let me know if you have any trouble with this:

Code:
#
#-----[ FIND ]---------------------------------------------
#
$lang['Delete_topic'] . '" title="' . $lang['Delete_topic']    
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&amp;mode=delete&amp;sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=delete&p_sid=" . $userdata['priv_session_id'])
#
#-----[ FIND ]---------------------------------------------
#
$images['topic_mod_move'] . '" alt="' . $lang['Move_topic']
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&amp;mode=move&amp;sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=move&p_sid=" . $userdata['priv_session_id'])
#
#-----[ FIND ]---------------------------------------------
#
$lang['Lock_topic'] . '" title="' . $lang['Lock_topic']
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&amp;mode=lock&amp;sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=lock&p_sid=" . $userdata['priv_session_id'])
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&amp;mode=unlock&amp;sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=unlock&p_sid=" . $userdata['priv_session_id'])
#
#-----[ FIND ]---------------------------------------------
#
$lang['Split_topic'] . '" title="' . $lang['Split_topic']
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&mode=split&sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=split&p_sid=" . $userdata['priv_session_id'])
#
#-----[ FIND ]---------------------------------------------
#
$lang['Delete_multiple_posts'] . '" title="' . $lang['Delete_multiple_posts']
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&mode=multi_del&sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=multi_del&p_sid=" . $userdata['priv_session_id'])
#
#-----[ FIND ]---------------------------------------------
#
$lang['Post_Sticky'] . '" title="' . $lang['Post_Sticky']
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&amp;mode=sticky&amp;sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=sticky&p_sid=" . $userdata['priv_session_id'])
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&amp;mode=unsticky&amp;sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=unsticky&p_sid=" . $userdata['priv_session_id'])
#
#-----[ FIND ]---------------------------------------------
#
$lang['Post_Normal'] . '" title="' . $lang['Post_Normal']
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&amp;mode=announce&amp;sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=announce&p_sid=" . $userdata['priv_session_id'])
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
href=\"modcp.$phpEx?"
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
href="' . append_sid("modcp.$phpEx?"
#
#-----[ IN-LINE FIND ]---------------------------------------------
#
$topic_id&amp;mode=unannounce&amp;sid=" . $userdata['session_id']
#
#-----[ IN-LINE REPLACE WITH ]---------------------------------------------
#
$topic_id&mode=unannounce&p_sid=" . $userdata['priv_session_id'])

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: A mod request for NightRider (if possible)
PostPosted: 01/08/2010 5:17 AM Reply with quote
Sparrow
cavallino
Sparrow
Posts 21
Word Cnt. 2,213
BDay N/A
Sign N/A
Joined: Dec 11, 2005
Local time: 3:39 AM
blank.gif
Thanks again! with your new instructions i was able to find my way out of it Wink
now that viewtopic part looks like this:

Code:
   $s_auth_can .= sprintf($lang['Rules_moderate'], '<a href="' . append_sid("modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id&p_sid=" . $userdata['priv_session_id']) . '">', '</a>');

   $topic_mod .= "<a onclick=\"return AJAXTopicDelete($topic_id, '". $lang['Confirm_delete_topic'] ."');\" href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_delete'] . '" alt="' . $lang['Delete_topic'] . '" title="' . $lang['Delete_topic'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= "<a onclick=\"return AJAXTopicMoveSelect();\" href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_move'] . '" alt="' . $lang['Move_topic'] . '" title="' . $lang['Move_topic'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED ) ? "<a id=\"topic_locklink\" onclick=\"return AJAXLockTopic($topic_id, 1);\" href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&p_sid=" . $userdata['priv_session_id']) . '"><img id="topic_lockimg" src="' . $images['topic_mod_lock'] . '" alt="' . $lang['Lock_topic'] . '" title="' . $lang['Lock_topic'] . '" border="0" /></a>&nbsp;' : "<a id=\"topic_locklink\" onclick=\"return AJAXLockTopic($topic_id, 0);\" href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&p_sid=" . $userdata['priv_session_id']) . '"><img id="topic_lockimg" src="' . $images['topic_mod_unlock'] . '" alt="' . $lang['Unlock_topic'] . '" title="' . $lang['Unlock_topic'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= "<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_split'] . '" alt="' . $lang['Split_topic'] . '" title="' . $lang['Split_topic'] . '" border="0" /></a>&nbsp;&nbsp;';

   $topic_mod .= "<a href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=multi_del&p_sid=" . $userdata['priv_session_id']) . '"><img src="' . $images['topic_mod_multi_delete'] . '" alt="' . $lang['Delete_multiple_posts'] . '" title="' . $lang['Delete_multiple_posts'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= ( $forum_topic_data['topic_type'] != 1 ) ? "<a id=\"sticky_link\" onclick=\"return AJAXTopicTypeChange($topic_id, 1);\" href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=sticky&p_sid=" . $userdata['priv_session_id']) . '"><img id="sticky_img" src="' . $images['topic_mod_sticky'] . '" alt="' . $lang['Post_Sticky'] . '" title="' . $lang['Post_Sticky'] . '" border="0" /></a>&nbsp;' : "<a id=\"sticky_link\" onclick=\"return AJAXTopicTypeChange($topic_id, 0);\" href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unsticky&p_sid=" . $userdata['priv_session_id']) . '"><img id="sticky_img" src="' . $images['topic_mod_unsticky'] . '" alt="' . $lang['Post_Normal'] . '" title="' . $lang['Post_Normal'] . '" border="0" /></a>&nbsp;';

   $topic_mod .= ( $forum_topic_data['topic_type'] != 2 ) ? "<a id=\"announce_link\" onclick=\"return AJAXTopicTypeChange($topic_id, 2);\" href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=announce&p_sid=" . $userdata['priv_session_id']) . '"><img id="announce_img" src="' . $images['topic_mod_announce'] . '" alt="' . $lang['Post_Announcement'] . '" title="' . $lang['Post_Announcement'] . '" border="0" /></a>&nbsp;' : "<a id=\"announce_link\" onclick=\"return AJAXTopicTypeChange($topic_id, 0);\" href="' . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unannounce&p_sid=" . $userdata['priv_session_id']) . '"><img id="announce_img" src="' . $images['topic_mod_unannounce'] . '" alt="' . $lang['Post_Normal'] . '" title="' . $lang['Post_Normal'] . '" border="0" /></a>&nbsp;';


Just in case, i make a backup of every file modified before applying all code-changes. Unfortunately I couldn't use EasyMod as my board is too modded Sad and heavily....
Back to Top
View user's profile Find all posts by cavallino Send private message  
 Post new topic  Reply to topic
Information
Welcome to RCF - New Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group
  ImageShack  
  Putfile  
  TinyURL  
  CommonDreams  
  Log in  

Page generation time: 0.3201s (PHP: 82% - SQL: 18%) - SQL queries: 61 - GZIP enabled - Debug on