Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved]Specify topic bumping MOD
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved]Specify topic bumping MOD
PostPosted: 07/28/2007 6:55 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
malaysiC.gif
I get this error msg .
Code:
Error Detail
 
Critical Error

IN-LINE FIND FAILED: In file [admin/admin_forums.php] could not find:

" . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . "

MOD script line #190 :: FAQ :: Report


P/S: I don't know i can install this MOD or not since i have the Do Not Bump - EM Friendly MOD . But issit this MOD is allow the specify in a forum wether topics can be bumped or not  right?


Last edited by masteranu84 on 07/29/2007 10:03 AM; edited 1 time in total
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Specify topic bumping MOD
PostPosted: 07/28/2007 6:59 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
malaysiC.gif
And the second MOD = Colored link if new post. I has upload this file into my FTP.But i don't seen any new MOD on EM installing MOD list.

   
Code:
##############################################################
    ## MOD Title: Colored link if new post
    ## MOD Author: DaMnNaTiOn < fy [at] frankyang [dot] net > (Frank Yang) http://www.frankyang.net
    ## MOD Description: Changes the color of the links if there are new posts
    ## MOD Version: 0.2.0
    ##
    ## Installation Level: Easy
    ## Installation Time: 5 Minutes
    ## Files To Edit: index.php
    ##                viewforum.php
    ##                templates/subSilver/index_body.tpl
    ##                templates/subSilver/viewforum_body.tpl
    ## Included Files: n/a
    ## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
    ##############################################################
    ## For security purposes, please check: http://www.phpbb.com/mods/
    ## for the latest version of this MOD. Although MODs are checked
    ## before being allowed in the MODs Database there is no guarantee
    ## that there are no security problems within the MOD. No support
    ## will be given for MODs not found within the MODs Database which
    ## can be found at http://www.phpbb.com/mods/
    ##############################################################
    ## Author Notes: Nothing :)
    ##############################################################
    ## MOD History:
    ##
    ##   2005-11-20 - Version 0.2.0
    ##      - Added the link highlighting in viewforum.php
    ##
    ##   2005-11-19 - Version 0.1.1
    ##      - Simplified the install, the color is now hardcoded in the php file instead of the css file
    ##
    ##   2004-11-26 - Version 0.1.0
    ##      - Initial Release
    ##
    ##############################################################
    ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
    ##############################################################
    #
    #-----[ OPEN ]------------------------------------------
    #

    index.php

    #
    #-----[ FIND ]------------------------------------------
    #

    $folder_alt = ( $unread_topics ) ? $lang['New_posts'] : $lang['No_new_posts'];

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    # Change #d82929 to any color you like

    $new_posts_link = ( $unread_topics ) ? ' style="color: #d82929;"' : '';

    #
    #-----[ FIND ]------------------------------------------
    #

    'ROW_CLASS' => $row_class,

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #

    'NEW_POSTS_LINK' => $new_posts_link,

    #
    #-----[ OPEN ]------------------------------------------
    #

    viewforum.php

    #
    #-----[ FIND ]------------------------------------------
    #

    $folder_image = $folder_new;

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #
    # Change #d82929 to any color you like

    $new_posts_link = ' style="color: #d82929;"';

    #
    #-----[ FIND ]------------------------------------------
    #

    $folder_image = $folder_new;

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #

    $new_posts_link = ' style="color: #d82929;"';

    #
    #-----[ FIND ]------------------------------------------
    #

    'ROW_CLASS' => $row_class,

    #
    #-----[ AFTER, ADD ]------------------------------------------
    #

    'NEW_POSTS_LINK' => $new_posts_link,

    #
    #-----[ OPEN ]------------------------------------------
    #

    templates/subSilver/index_body.tpl

    #
    #-----[ FIND ]------------------------------------------
    #

    <td class="row1" width="100%" height="50">

    #
    #-----[ IN-LINE FIND ]------------------------------------------
    #

    <span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>

    #
    #-----[ IN-LINE REPLACE WITH ]------------------------------------------
    #

    <span{catrow.forumrow.NEW_POSTS_LINK} class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

    #
    #-----[ OPEN ]------------------------------------------
    #

    templates/subSilver/viewforum_body.tpl

    #
    #-----[ FIND ]------------------------------------------
    #

    <span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="

    #
    #-----[ IN-LINE FIND ]------------------------------------------
    #

    {topicrow.U_VIEW_TOPIC}"

    #
    #-----[ IN-LINE AFTER, ADD ]------------------------------------------
    #

    {topicrow.NEW_POSTS_LINK}

    #
    #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
    #
    # EoM
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Specify topic bumping MOD
PostPosted: 07/28/2007 10:46 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:36 AM
Location: St Pete, FL
peace.gif
masteranu84 wrote:
I get this error msg .
Code:
Error Detail
 
Critical Error

IN-LINE FIND FAILED: In file [admin/admin_forums.php] could not find:

" . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . "

MOD script line #190 :: FAQ :: Report


P/S: I don't know i can install this MOD or not since i have the Do Not Bump - EM Friendly MOD . But issit this MOD is allow the specify in a forum wether topics can be bumped or not  right?

Ok, try this:

OPEN
specify_topic_bumping_0.1.0.mod

FIND
Code:
#
#-----[ IN-LINE FIND ]------------------------------------------
#
" . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . "

REPLACE WITH
Code:
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$value_sql . "

Save, upload, and try again using EM...

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: Specify topic bumping MOD
PostPosted: 07/28/2007 10:51 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:36 AM
Location: St Pete, FL
peace.gif
masteranu84 wrote:
And the second MOD = Colored link if new post. I has upload this file into my FTP.But i don't seen any new MOD on EM installing MOD list.

The problem was that there were four spaces in front of every line in the MOD.  That's a problem I have never seen before.  I removed the four spaces from every line using UltraEdit's column edit utility and uploaded the corrected version.  You should be able to see it in EM's Unprocessed MODs list now...

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: Specify topic bumping MOD
PostPosted: 07/29/2007 12:54 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
malaysiC.gif
Nightrider wrote:
masteranu84 wrote:
I get this error msg .
Code:
Error Detail
 
Critical Error

IN-LINE FIND FAILED: In file [admin/admin_forums.php] could not find:

" . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . "

MOD script line #190 :: FAQ :: Report


P/S: I don't know i can install this MOD or not since i have the Do Not Bump - EM Friendly MOD . But issit this MOD is allow the specify in a forum wether topics can be bumped or not  right?

Ok, try this:

OPEN
specify_topic_bumping_0.1.0.mod

FIND
Code:
#
#-----[ IN-LINE FIND ]------------------------------------------
#
" . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . "

REPLACE WITH
Code:
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$value_sql . "

Save, upload, and try again using EM...

headbang


Ok, the problem has been success to install now!! Thanks, But it have no fucntion when i use the option to set the which topic cannot be bump.
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Specify topic bumping MOD
PostPosted: 07/29/2007 12:55 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
malaysiC.gif
Nightrider wrote:
masteranu84 wrote:
And the second MOD = Colored link if new post. I has upload this file into my FTP.But i don't seen any new MOD on EM installing MOD list.

The problem was that there were four spaces in front of every line in the MOD.  That's a problem I have never seen before.  I removed the four spaces from every line using UltraEdit's column edit utility and uploaded the corrected version.  You should be able to see it in EM's Unprocessed MODs list now...

headbang


Thanks , i can see the MOD on list now. But got error msg when i install.

Code:
Error Detail
 
Warning

FIND FAILED: In file [templates/Avalanche/index_body.tpl] could not find:

<td class="row1" width="100%" height="50">

MOD script line #120 :: FAQ :: Report
 

Error Detail
 
Critical Error

FIND FAILED: In file [templates/subSilver/viewforum_body.tpl] could not find:

<span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="

MOD script line #144 :: FAQ :: Report
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Specify topic bumping MOD
PostPosted: 07/29/2007 5:51 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:36 AM
Location: St Pete, FL
peace.gif
Ok, try this:

OPEN
ColorRedNewPostt.txt

FIND
Code:
#
#-----[ FIND ]------------------------------------------
#

<td class="row1" width="100%" height="50">

#
#-----[ IN-LINE FIND ]------------------------------------------
#

<span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#

<span{catrow.forumrow.NEW_POSTS_LINK} class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

REPLACE WITH
Code:
#
#-----[ FIND ]------------------------------------------
#
class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a>
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
{catrow.forumrow.NEW_POSTS_LINK} class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>

FIND
Code:
#
#-----[ FIND ]------------------------------------------
#

<span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="

REPLACE WITH
Code:
#
#-----[ FIND ]------------------------------------------
#
{topicrow.U_VIEW_TOPIC}"

Save, upload, and try again using EM...

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: Specify topic bumping MOD
PostPosted: 07/29/2007 9:58 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
malaysiC.gif
Problem Solved!!!!!!!!!!!!!!!!!!!!!!


banana  headbang  blob8  banana  headbang  blob8  banana  headbang  blob8

Thanks Alot !!!!!!!!
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: [Solved]Specify topic bumping MOD
PostPosted: 07/30/2007 10:00 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:36 AM
Location: St Pete, FL
peace.gif
Kewl, Congratulations once again masteranu84!!!   Applause

banana  banana  banana  banana  banana
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
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF 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

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1267s (PHP: 63% - SQL: 37%) - SQL queries: 55 - GZIP disabled - Debug on