Rate Topic Viewforum vraagje

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Rate Topic Viewforum vraagje

Bericht door Alpha » 12 mar 2005, 19:47

Heeyz,
Ik heb de Rate Topic mod geinstalleerd en werkt perfect, nu zag ik dat de mod ook nog iets extra's heeft en dat is dat je in viewforum de rating van het forum kan zien, die heb ik dus gewoon goed geinstalleerd maar waarschijnlijk omdat ik andere template gebruik doettie dat niet goed:
http://www.gamepearl.nl/forum/viewforum.php?f=6
Hoe kan ik dat goed krijgen?

En er staat ook heel groot bovenaan 'switched r ' :?

Greetings,
Ruben

Nymphy
Berichten: 1504
Lid geworden op: 28 mar 2003, 18:00
Locatie: Grevenbicht

Bericht door Nymphy » 12 mar 2005, 20:10

ik denk dat het handig is als je even een link naar een tekstfile hierneer gooit van viewforum_body.tpl

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 12 mar 2005, 21:42

o ja, natuurlijk, sorry:

Code: Selecteer alles

<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr> 
	  <td align="left" valign="middle" class="nav" width="100%"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> {FORUM_NAME}<br><br></span></td>
	</tr><tr>
	  <td align="left" valign="bottom" colspan="2"><span class="gensmall">({LOGGED_IN_USER_LIST})<br><br></span></td>
	  <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
	</tr>
	<tr> 
	  <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>

	  <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
	</tr>
  </table>

     <!-- top table setup -->
<table border="0" cellpadding="0" cellspacing="0"  width="100%" align="center" background="templates/ambience/images/cat_back.gif">
  <tr>
    <td width="140" height="27" align="left" valign="bottom">
    <img border="0" src="templates/ambience/images/cat_top_ls.gif" width="140" height="27"></td>
    <td width="100%" align="center">
<span class="cattitle">{FORUM_NAME}</span></td>
     <td width="140" height="27" align="right" valign="top">
    <img border="0" src="templates/ambience/images/cat_top_rs.gif" width="140" height="27"></td>
  </tr>
</table>
        <!-- End top table setup -->

  <table border="0" cellpadding="4" cellspacing="1" width="100%" bgcolor="#000000">
	<tr> 
	  <th colspan="2" align="center" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
	  <th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
	  <!-- BEGIN rating_switch -->
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_RATING}&nbsp;</th>
	  <!-- END rating_switch -->
	  <th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
	</tr>
	<!-- BEGIN topicrow -->
	<tr> 
	  <td class="row2" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="16" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
<td class="row1" width="100%" onMouseOver="this.style.backgroundColor='#CCCCCC'; this.style.cursor='default';" onMouseOut="this.style.backgroundColor='#FFFFFF';"><span class="gensmall"><b>{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="gensmall">{topicrow.TOPIC_TITLE}</a></b></span><span class="gensmall"><br />
		{topicrow.GOTO_PAGE}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
	  <td class="row1" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
	  <!-- BEGIN rate_switch_msg -->
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.TOPIC_RATING}</span></td>
	  <!-- END rate_switch_msg -->
	  <td class="row1" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
	</tr>
	<!-- END topicrow -->
	<!-- BEGIN switch_no_topics -->
	<tr> 
	  <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
	</tr>
	<!-- END switch_no_topics -->
	<tr> 
	  <td class="catBottom" align="center" valign="middle" colspan="{COLSPAN_SETTING}" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
		<input type="image" src="templates/ambience/images/go.gif" name="submit" align="absbottom" />
		</span></td>
	</tr>
  </table>

  <!-- bottom table setup -->
    <table height="14" width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="70" height="14" align="left" valign="top">
        <img src="templates/ambience/images/ls_main_table_bottom.gif" width="70" height="14"></td>
        <td height="14" width="100%" background="templates/ambience/images/extended_main_table_bottom.gif"><img src="templates/ambience/images/clear.gif" width="100%" height="14"></td>
        <td width="70" height="14" align="right" valign="top">
            <img border="0" src="templates/ambience/images/rs_main_table_bottom.gif" width="70" height="14"></td>
      </tr>
    </table>
  <!-- End bottom table setup -->

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr> 
	  <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="left" valign="middle" width="100%"><span class="nav">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> {FORUM_NAME}</span></td>
	  <td align="right" valign="middle" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span> 
		</td>
	</tr>
	<tr>
	  <td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
	</tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
	<tr>
		<td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
			<tr>
				<td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="16" /></td>
				<td class="gensmall">{L_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="16" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="16" /></td>
				<td class="gensmall">{L_ANNOUNCEMENT}</td>
			</tr>
			<tr> 
				<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="16" /></td>
				<td class="gensmall">{L_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="16" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="16" /></td>
				<td class="gensmall">{L_STICKY}</td>
			</tr>
			<tr>
				<td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="16" /></td>
				<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
				<td>&nbsp;&nbsp;</td>
				<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="16" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
			</tr>
<tr> 
	<td width="20" align="center"><img src="{FOLDER_POLL_VOTED_IMG}" alt="{L_POLL_VOTED}" width="19" height="18" /></td>
	<td class="gensmall">{L_POLL_VOTED}</td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center"><img src="{FOLDER_POLL_NOT_VOTED_IMG}" alt="{L_POLL_NOT_VOTED}" width="19" height="18" /></td>
	<td class="gensmall">{L_POLL_NOT_VOTED}</td>
	<td>&nbsp;&nbsp;</td>
	<td width="20" align="center"><img src="{FOLDER_POLL_NO_PERMISSION_IMG}" alt="{L_POLL_NO_PERMISSION}" width="19" height="18" /></td>
	<td class="gensmall">{L_POLL_NO_PERMISSION}</td>
</tr>

		</table></td>
		<td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
	</tr>
</table>

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 12 mar 2005, 23:16

Parse error: parse error, unexpected ';' in /var/www/html/forum/includes/page_header.php on line 311
:shock:

Krijg ik bij het voorbeeld.
Afbeelding

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 14 mar 2005, 15:43

nu kan je weer kijken Luuk...

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 14 mar 2005, 18:04

Het lijkt erop dat dat door de mod komt (geëchood) omdat ik er niets van kan terugvinden in het tpl bestand.
Afbeelding

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 14 mar 2005, 21:46

damn... wat moet ik doen dan :? :(

misschien heb je hier iets aan:
dit zijn de opdrachten die ik in viewforum_body moet doen:

Code: Selecteer alles

# 
#-----[ FIND ]------------------------------------------ 
#
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	  <!-- BEGIN rating_switch -->
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_RATING}&nbsp;</th>
	  <!-- END rating_switch -->
	  
# 
#-----[ FIND ]------------------------------------------ 
#
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	  <!-- BEGIN rate_switch_msg -->
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.TOPIC_RATING}</span></td>
	  <!-- END rate_switch_msg -->
	
# 
#-----[ FIND ]------------------------------------------ 
#
	  <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
	  
# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
	  <td class="catBottom" align="center" valign="middle" colspan="{COLSPAN_SETTING}" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
	
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 15 mar 2005, 15:33

En wat moest je in viewforum.php zetten?
Afbeelding

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 15 mar 2005, 16:17

Het probleem is gewoon dat er in het frame niets ingevuld wordt als er niet gestemd is...
http://www.gamepearl.nl/forum/viewforum.php?f=6
Heb ik het rating frame helemaal rechts gezet... :?



hier heb je hele install.txt

Code: Selecteer alles

############################################################## 
## MOD Title: Rate Topics 
## MOD Author: Nivisec < support@nivisec.com > (Billy Sauls) http://nivisec.com 
## MOD Description: some_description_goes_here 
## MOD Version: 2.0.0 
## 
## Installation Level: (moderate) 
## Installation Time: 25 Minutes 
## Files To Edit: page_header.php, functions.php, viewtopic.php  
############################################################## 
## For updates and support please visit http://www.phpbbhacks.com
## and not http://www.phpbb.com.  
##
## This author doesn't have the time to deal with phpbb.com and
## will not be offering support there.  Consequently, according
## to phpbb.com this mod proposes a security risk (*cough* BS
## *cough*) because it's not from their site.  
##
## I assure you, there is no more of a risk if you got this file
## from http://nivisec.com or http://www.phpbbhacks.com.
############################################################## 
## Author Notes: 
## There are lots of other optional additions in the file
## install/optional/ directory that many of you will want to
## install.
##
## You should edit any templates as needed to fit your forum
## layout and style.  Specifically rate_viewtopic.tpl.
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ COPY ]------------------------------------------ 
# 
copy includes/functions_rate.php to includes/
copy admin/admin_rate.php to admin/
copy templates/subSilver/*.* to templates/subSilver/
copy templates/subSilver/admin/*.* to templates/subSilver/admin/
copy language/lang_english/lang_rate.php to language/lang_english/
copy rate.php to /
#Temporary install files for table(s)
copy install/*.* to install/

# 
#-----[ RUN ]------------------------------------------ 
# 
install/nivisec_install.php

# 
#-----[ OPEN ]------------------------------------------ 
# 
constants.php

# 
#-----[ FIND ]------------------------------------------ 
#
define('VOTE_USERS_TABLE', $table_prefix.'vote_voters');

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
#
define('RATINGS_TABLE', $table_prefix.'rate_results');

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/page_header.php

# 
#-----[ FIND ]------------------------------------------ 
#
//
// Parse and show the overall header.
//

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
# 
include($phpbb_root_path . 'includes/functions_rate.'.$phpEx);

#-----[ OPEN ]------------------------------------------ 
# 
# 
includes/functions.php

#-----[ FIND ]------------------------------------------ 
# 
# 
	include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
	

#-----[ AFTER, ADD ]------------------------------------------ 
# 
# 
	include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_rate.' . $phpEx);
	
#-----[ OPEN ]------------------------------------------ 
# 
# 
viewtopic.php

#-----[ FIND ]------------------------------------------ 
# 
# 
$template->pparse('body');
	
#-----[ BEFORE, ADD ]------------------------------------------ 
# 
#
ratings_view_topic();

#-----[ OPEN ]------------------------------------------ 
# 
# 
templates/subSilver/viewtopic_body.tpl

#-----[ FIND ]------------------------------------------ 
# 
# 
	<tr align="center"> 
		<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
			<tr><form method="post" action="{S_POST_DAYS_ACTION}">
				<td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
			</form></tr>
		</table></td>
	</tr>
</table>	

#-----[ AFTER, ADD ]------------------------------------------ 
# 
# 
{RATING_VIEWTOPIC}

#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 15 mar 2005, 17:17

Dat is niet het goede bestand :roll: Want er wordt niets aangepast in viewforum.php en viewforum_body.tpl.
Afbeelding

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 15 mar 2005, 17:32

beetje dom :oops:

Code: Selecteer alles

############################################################## 
## Author Notes: 
## This will add a small column beside views in the forum
## topic list that displays the current topic rating.
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ OPEN ]------------------------------------------ 
# 
viewforum.php

# 
#-----[ FIND ]------------------------------------------ 
#
		$template->assign_block_vars('topicrow', array(
			'ROW_COLOR' => $row_color,
			'ROW_CLASS' => $row_class,
			'FORUM_ID' => $forum_id,
			'TOPIC_ID' => $topic_id,

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
			'TOPIC_RATING' => sprintf("%.2f", ratings_view_forum($topic_id)),

# 
#-----[ FIND ]------------------------------------------ 
#
			'U_VIEW_TOPIC' => $view_topic_url)
		);

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		ratings_check_forum($topic_id);

# 
#-----[ OPEN ]------------------------------------------ 
# 
templates/subSilver/viewforum_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
#
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	  <!-- BEGIN rating_switch -->
	  <th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_RATING}&nbsp;</th>
	  <!-- END rating_switch -->
	  
# 
#-----[ FIND ]------------------------------------------ 
#
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	  <!-- BEGIN rate_switch_msg -->
	  <td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.TOPIC_RATING}</span></td>
	  <!-- END rate_switch_msg -->
	
# 
#-----[ FIND ]------------------------------------------ 
#
	  <td class="catBottom" align="center" valign="middle" colspan="6" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
	  
# 
#-----[ REPLACE WITH ]------------------------------------------ 
#
	  <td class="catBottom" align="center" valign="middle" colspan="{COLSPAN_SETTING}" height="28"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
	
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
#End

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 15 mar 2005, 21:32

hzm... probleem ligt dus iets anders... de bovenste is gewoon altijd zwart :?

http://www.gamepearl.nl/forum/viewforum.php?f=6 WTF!

Nymphy
Berichten: 1504
Lid geworden op: 28 mar 2003, 18:00
Locatie: Grevenbicht

Bericht door Nymphy » 15 mar 2005, 21:38

heb je het zo ingesteld dat users ook bij een global mededeling kunnen raten ?

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 15 mar 2005, 21:42

good point, waar doe ik dat?

Nymphy
Berichten: 1504
Lid geworden op: 28 mar 2003, 18:00
Locatie: Grevenbicht

Bericht door Nymphy » 15 mar 2005, 21:46

Administratiepaneel

Forum Beheer --> Permissies --> Game Pearl Forum

en daar de permissies instellen..

maar normaal gesproken zou het voor de admin wel altijd zichtbaar moeten zijn ongeacht de instellingen ?

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 15 mar 2005, 21:53

premissies voor globale mededelingen is toch alleen wie globale mededelingen kunnen aanmaken? en ik heb dat nu maar ingesteld en geen verandering :(

Nymphy
Berichten: 1504
Lid geworden op: 28 mar 2003, 18:00
Locatie: Grevenbicht

Bericht door Nymphy » 15 mar 2005, 22:06

veranderd dit gedeelte :

Code: Selecteer alles

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0"> 
   <tr> 
      <td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0"> 
         <tr> 
            <td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="16" /></td> 
            <td class="gensmall">{L_NEW_POSTS}</td> 
            <td>&nbsp;&nbsp;</td> 
            <td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="16" /></td> 
            <td class="gensmall">{L_NO_NEW_POSTS}</td> 
            <td>&nbsp;&nbsp;</td> 
            <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="16" /></td> 
            <td class="gensmall">{L_ANNOUNCEMENT}</td> 
         </tr> 
         <tr> 
            <td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="16" /></td> 
            <td class="gensmall">{L_NEW_POSTS_HOT}</td> 
            <td>&nbsp;&nbsp;</td> 
            <td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="16" /></td> 
            <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td> 
            <td>&nbsp;&nbsp;</td> 
            <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="16" /></td> 
            <td class="gensmall">{L_STICKY}</td> 
         </tr> 
         <tr> 
            <td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="16" /></td> 
            <td class="gensmall">{L_NEW_POSTS_LOCKED}</td> 
            <td>&nbsp;&nbsp;</td> 
            <td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="16" /></td> 
            <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td> 
         </tr>
eens in dit :

Code: Selecteer alles

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
	<tr>
		<td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
			<tr>
				<td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
				<td class="gensmall">{L_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<!-- Start replacement - Global announcement MOD -->
                                <td width="20" align="center"><img src="{FOLDER_GLOBAL_ANNOUNCE_IMG}" alt="{L_GLOBAL_ANNOUNCEMENT}" width="19" height="18" /></td>
                                <td class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</td>
                                <!-- End replacement - Global announcement MOD -->
			</tr>
			<tr> 
				<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
				<td class="gensmall">{L_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<!-- Start replacement - Global announcement MOD -->
                                <td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
                                <td class="gensmall">{L_ANNOUNCEMENT}</td>
                                <!-- End replacement - Global announcement MOD -->
			</tr>
			<tr>
				<td class="gensmall"><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
				<td class="gensmall">{L_NEW_POSTS_LOCKED}</td>
				<td>&nbsp;&nbsp;</td>
				<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
				<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
				<!-- Start add - Global announcement MOD -->
                                <td>&nbsp;&nbsp;</td>
                                <td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
                                <td class="gensmall">{L_STICKY}</td>
                                <!-- End add - Global announcement MOD -->
				
			</tr>
in viewtopic_body.tpl

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 15 mar 2005, 22:12

viewforum_body.tpl bedoel je? heb ik net gedaan en geen verschil...

Nymphy
Berichten: 1504
Lid geworden op: 28 mar 2003, 18:00
Locatie: Grevenbicht

Bericht door Nymphy » 15 mar 2005, 22:13

viewforum idd :oops:

vreemd want je mistte daar dus wel een gedeelte code van de global announcement :?

edit: kep de hele mod nog eens nagelopen maar kan dus niet ontdekken waar het scheef zit :(

Gebruikersavatar
Alpha
Berichten: 367
Lid geworden op: 13 okt 2004, 13:10
Locatie: Nootdorp

Bericht door Alpha » 16 mar 2005, 10:09

dat waardeer ik zeer, super bedankt daarvoor... maar moet er niet script toegevoegd wordne ofzo dat globale mededelingen wel gerate kunnen worden ofzo...

Gesloten