Good point. Hadn't thought of all the various combinations of customizations. The few you listed in different combinations mean more than 20 different templates.... then sombody is ALWAYS going to want something different, right? Isn't that the way it always goes. <img src="/forum/images/icons/laugh.gif" alt="" /> LOL
The toggle in Admin. is handy. But, the tradeoff Scream mentions adds valuable perspective that I do appreciate, because as a webmaster I also value flexibility.<br /><br />A FEW changes to the code templates such as was necessary here is tolerable. It would be more tolerable if there was another forum that only contained template modifications tested and approved by Infopop with complete and accurate instructions for each modification. <br />
#218369 - 06/15/0210:20 AMRe: No rating templates
[Re: figmentium]
MTO
Addict
Registered: 01/31/00
Posts: 1524
Loc: Burgos, Spain.
Agreed, I like it more being totally template based.<br />The template stage for UBBThreads has just started, but I think it would be logical to expect that in some time there will be a place with a template collection.<br />Ideally it would be somewhat like a Yahoo style of index place, where you go through different categories to find the template you like.<br /><br />Anyway, I like it as it is, if you dont want a feature, remove it from the template. If you want it, add it to the template.
Hi there<br /><br />Are the complete rating templates posted anywhere?<br />I already messed withthe rating template unsuccessfully so the instructions don't help much.<br /><br /><br />Scream mentioned these were posted somewhere inthe template forum but so far I can't find them...anyone?<br />Thanks<br />Renee<br />
#218371 - 07/05/0203:30 PMRe: No rating templates
[Re: -Fusion-]
mrnocal
User
Registered: 06/25/02
Posts: 29
Loc: New York
I can't believe I did it! A couple of more modifications in the showflat template, and I got rid of the user's ratings in the user's column, and the "rate this post" in the Extra information section at the bottom of the thread.<br />Attached is the new showflat.tmpl (in the form of a .txt file), modified from the original showflat.tmpl that came with UBB.Threads 6.0.1.<br /><br />in the showflat.tmpl, remove the following parts:<br /><br />{$ubbt_lang['RATING']}: $ThreadRating<br /><br /><br /><br /><tr><br /><td class="small"><br /><b>{$postrow[$i]['Rating']}</b><br /></td><br /></tr><br /><br />$ratinghtml
#218373 - 07/05/0207:56 PMRe: No rating templates
[Re: SurfMinister]
mrnocal
User
Registered: 06/25/02
Posts: 29
Loc: New York
Learning more and more each day! Now I figured out how to get rid of the thread ratings and the ratings column on the post list template (postlist.tmpl), and not have the other columns get messed up in the process. Attached is the modified postlist template (from the original postlist template that came with UBB.Threads 6.0.1), also in the form of a txt file.<br /><br />Remove the following from postlist.tmpl:<br /><br /><td align="center" nowrap="nowrap"><br />{$postrow[$i]['Rating']}<br /></td><br /><br />and<br /><br /><td nowrap="nowrap" width="5%" class="tdheader" align="center"><br /><a href="{$config['phpurl']}/postlist.php?Cat=$Cat&Board=$Board&page=$page&view=$view&sb=$sortrating&o=$o"><br />{$ubbt_lang['RATING']}<br /></a><br /> $RatingS<br /> <br /></td>
#218374 - 07/05/0208:04 PMRe: No rating templates
[Re: Glazor]
mrnocal
User
Registered: 06/25/02
Posts: 29
Loc: New York
And here's the modified one for threaded view (showthreaded.tmpl), again attached in the form of a txt file. It removes the rating option in the Extra Information section at the bottom of the threaded view page.<br /><br />All I removed were the following:<br /><br /><tr><br /><td class="small"><br /><b>$Rating</b><br /></td><br /></tr><br /><br />and<br /><br />{$ubbt_lang['RATING']}: $ThreadRating<br /><br />and<br /><br />$ratinghtml
I want to remove all the ratings, my members hate them...<br />I read all posts above and still do not see how to do it...<br />Can someone please post exactly what needs to be done and where for a guy who is not good with code?<br />(There seems to be several options... I just need one that works)<br />I use UBB.threads™ 6.0.1<br />Thanks
My users also hate these ratings. I think it was a big mistake to put them in to start with but now that they are there we need a simple way to get rid of them.<br />I'm not good at code either so I'll need detailed instructions to get rid of them.<br /><br />Thanks
Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
I believe you also need to comment out the section which displays the current rating:<br /><br /><pre><font class="small">code:</font><hr><!--<br /><tr><br /><td class="darktable"><br />{$ubbt_lang['RATING']}<br /></td><br /><td><br />$Rating <br /></td><br /></tr><br />--></pre><hr><br />
_________________________
UBB.threads beta tester / threadsdev.com moderator Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.
#218383 - 08/31/0205:49 PMRe: No rating templates
[Re: TestPappy]
Gardener
Addict
Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
It seems that you have removed the Subject table header cell as well.<br /><br />Just remove the comments around the following code:<br /><br /><td align="left" width="50%" class="tdheader"><br /><a href="http://65.166.97.24/ubbthreads/postlist.php?Cat=&Board=alemanyHS&page=0&view=collapsed&sb=1&o=93"><br />Subject<br /></a><br /></td><br />
#218385 - 08/31/0206:53 PMRe: No rating templates
[Re: TestPappy]
Gardener
Addict
Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
I did tell you, but here is a more thorough explanation that should fix your problem:<br /><br />Open the file templates/default/postlist.tmpl<br /><br />Find this block of code:<br /><br /><!-- <td align="left" width="50%" class="tdheader"><br /><br /><a href="http://65.166.97.24/ubbthreads/postlist.php?Cat=&Board=alemanyHS&page=0&view=collapsed&sb=1&o=93"><br /><br />Subject<br /><br /></a><br /><br /></td> --><br /><br />Replace it with this:<br /><br /><td align="left" width="50%" class="tdheader"><br /><br /><a href="http://65.166.97.24/ubbthreads/postlist.php?Cat=&Board=alemanyHS&page=0&view=collapsed&sb=1&o=93"><br /><br />Subject<br /><br /></a><br /><br /></td>
Thanks so much! worked like a charm. Sorry I was confused by the "Board=alemanyHS" part because alemanyHS is the name of just one of the boards that was having the problem... anyway it's fixed you rock.<br /><br />-SchoolScandals