 | [Solved]Specify topic bumping MOD |  |
Posted: 07/28/2007 6:55 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
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 |
|
|
 | Re: Specify topic bumping MOD |  |
Posted: 07/28/2007 6:59 PM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
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 |
|
|
 | Re: Specify topic bumping MOD |  |
Posted: 07/28/2007 10:46 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:36 AM
Location: St Pete, FL
|

|
|
|
|
 |
| 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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Specify topic bumping MOD |  |
Posted: 07/28/2007 10:51 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:36 AM
Location: St Pete, FL
|

|
|
|
|
 |
| 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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Specify topic bumping MOD |  |
Posted: 07/29/2007 12:54 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
| 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...
|
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 |
|
|
 | Re: Specify topic bumping MOD |  |
Posted: 07/29/2007 12:55 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
| 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...
|
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 |
|
|
 | Re: Specify topic bumping MOD |  |
Posted: 07/29/2007 5:51 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:36 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Specify topic bumping MOD |  |
Posted: 07/29/2007 9:58 AM |
|
|
|
|
|
| Citation |
| Posts |
487 |
| Word Cnt. |
35,729 |
| BDay |
Oct 3 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Oct 29, 2006
Local time: 10:36 AM
Location: Klang, Malaysia
|

|
|
|
|
 |
Problem Solved!!!!!!!!!!!!!!!!!!!!!!
Thanks Alot !!!!!!!! |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved]Specify topic bumping MOD |  |
Posted: 07/30/2007 10:00 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:36 AM
Location: St Pete, FL
|

|
|
|
|
 |
Kewl, Congratulations once again masteranu84!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|