Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2004
Posts: 6
Lurker
Lurker
Offline
Joined: Jan 2004
Posts: 6
nm

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
You don't, they need to be edited out of the templates.

Joined: Jan 2004
Posts: 6
Lurker
Lurker
Offline
Joined: Jan 2004
Posts: 6
Ok thanks for confirming that Im not crazy. Someone who lacked the knowledge said it was in the Admin panel.. I thought I was blind.

Can you point me to the mod? or does one exist?

Thanks!

Joined: Oct 2001
Posts: 213
Member
Member
Offline
Joined: Oct 2001
Posts: 213
I too am interested in removing the Rating column from the templates. Is this the same as for 6.3? or are there new instructions?

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
1) Save your original postlist.tmpl, showflat.tmpl, and showthreaded.tmpl files -no, do it now...

2) Open up a copy of your original postlist.tmpl file and look for:

Code
 <br /><td align="center" nowrap="nowrap" class="{$postrow[$i]['color']}" valign="top"> <br />{$postrow[$i]['Rating']} <br /></td> <br />



and remove it.

3. Look for:

Code
 <br /><!-- END OF LOOP --> <br /><tr> <br /><td colspan="8" class="tdheader" align="right"> <br />$pagejumpers <br /></td></tr> <br /> 


and change it to:

Code
 <br /> <br /><!-- END OF LOOP --> <br /><tr> <br /><td colspan="7" class="tdheader" align="right"> <br />$pagejumpers <br /></td></tr> <br /> 


4. Open up a copy of your original showflat.tmpl file.. Look for:

Code
 <br />{$ubbt_lang['RATING']}: $ThreadRating <br /><br /> <br /> 


and remove it.

Open up a copy of your original showthreaded.tmpl file. Look for:

Code
 <br />{$ubbt_lang['RATING']}: $ThreadRating <br /><br /> <br />



and remove it. Save and upload the edited templates to your templates/default directory -you're done

Sponsored Links
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
User Ratings are in the admin panel not Threads Ratings. You can specify to turn off user ratings in the admin panel. Thread ratings can be accomplished as Dalantech posted above.

Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
Dalantech, I followed your instructions exactly, and the rating column disappeared, but there was a 'black' column for 'last post'. The column headers didn't adjust properly.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Yup, that's because I missed a table cell in the postlist.tmpl file, and the edit time has expired for posts in this thread so I can't change the origianl instructions. So, do this additional step in the postlist.tmpl file (backup first!!!).

Find:

Code
 <td nowrap="nowrap" width="5%" class="tdheader" align="center"><br /><a href="{$config['phpurl']}/postlist.php?Cat=$Cat&amp;Board=$Board&amp;page=$page&amp;view=$view&amp;sb=$sortrating&amp;o=$o"><br />{$ubbt_lang['RATING']}<br /></a><br /> $RatingS<br />&nbsp;&nbsp;<br /></td> 


and remove it. That should fix the alignment problem. Sorry, I should never post detailed instructions before coffee...

Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
Ahhh thanks! I'll try this tomorrow morning (I do all my maintenance and alterations when no one's around)

Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
So... you think I can talk you into walking me through the steps to remove the 'hot threads' column now ?

Sponsored Links
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
LOL!

Start a new thread...

Joined: Oct 2001
Posts: 213
Member
Member
Offline
Joined: Oct 2001
Posts: 213
DaLanTech: Thanks very much for the instructions.

This alteration still leaves the "Rate This Thread" box on each post in showflat and showthreaded - this code is removed from showflat and showthreaded to eliminate that option.

<td width="50%" align="left">
$ratinghtml
</td>


Thanks.

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Good catch!

Joined: May 2003
Posts: 94
Power User
Power User
Offline
Joined: May 2003
Posts: 94
Can someone update the instructions for this, with threads version 6.5.1.1 ??? PLEASE


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)