Some don't want to use the new rating feature in UBBT 6.0<br />For those I put together some instructions for removing all these components.<br />Only some small changes in your template files are needed.<br />Just see the attached file.
Pretty close but not quite there yet, I did this and it still leaves the rating table in place and moves the "last post" output into it.<br />I did everything in the directions but left postlist.tmpl alone and the option for user ratings are gone but the ones for messages are still there, I think I might leave it that way for now to see how it works out.<br />The person who came out with this "brain fart" of a feature with no control from the admin was obviously a programmer and not a webmaster. <img src="/forum/images/icons/smirk.gif" alt="" /> <br /><br />Anyone want to tell me how to remove the stars from the users that already have been rated. <img src="/forum/images/icons/grin.gif" alt="" /> <br /><br />
Can you give me a link so that i can take a look what ratings still occur?<br />Maybe i missed something. I modified several things in my templates so this happens easily.
_________________________
Running a community? -> Keep informed and take it to the next level
<br />I checked my instructions i missed the display of the message rating. Will repost it in a few minutes. <br />But you have some other mistake in your templates. <br />Would you mind to send me your modified templates files? <br />I could take a quick look and hopefully find the mistake.
Edited by Astaran (06/09/0205:58 PM)
_________________________
Running a community? -> Keep informed and take it to the next level
OK, I just noticed that the stars from before I removed the ratings are showing up in the profiles, how do I edit the showprofile.php file?<br /><br />Thanks
"The person who came out with this "brain fart" of a feature with no control from the admin was obviously a programmer and not a webmaster." <br /> <br />I agree wholeheartedly! And recommend that the admin. control option should be restored in the next version. <br /> <br />In any event, this thread is very helpful. Thanks!
Here you go:<br />showprofile.tmpl<br />find line 62-68<br /> <pre><font class="small">code:</font><hr> <tr><br /><td class="darktable"><br />{$ubbt_lang['RATING']}<br /></td><br /><td><br />$Rating <br /></td><br /></tr> </pre><hr> <br /><br />remove that too.<br /><br />Will update the full instructions when i'm back home.
_________________________
Running a community? -> Keep informed and take it to the next level
#218362 - 06/14/0212:17 PMRe: No rating templates
[Re: figmentium]
Rick
Guru
Registered: 05/11/99
Posts: 8372
Loc: Olympia, WA
Unfortunately this is one where it's going to be impossible to make both sides happy. The plan with templates was to give those users that don't like to muck around in code an easy way to change the HTML of the pages. So, wherever possible I put all HTML into the templates and removed it from the scripts. In order to have admin toggles for these would mean that the HTML would need to be put back into the scripts for these areas and by doing that the templates become less flexible as you'd still need to go into the scripts to make HTML/layout type changes.<br /><br />Hopefully we can get a template download area going. Maybe with sections for screenshots of what the modified templates actually do. Then it would just be a matter of downloading the altered templates and overwriting the originals.
Thank's DTS, one of these days I am going to have spare time where I can fool around with this stuff myself. <img src="/forum/images/icons/shocked.gif" alt="" />
#218364 - 06/14/0212:41 PMRe: No rating templates
[Re: Sally]
Gardener
Addict
Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Maybe the templates without ratings could be included in the threads package and a question in the install asks which versions to make default?<br /><br />Since it seems that many people doesn't want the ratings it could be a good idea to help them remove them. Downloading and installing new templates might be a bit cumbersome for a first time user.<br /><br />On a personal note, I'm not that fond of ratings myself but I think my users are and unless I get complaints I'll leave them in.
#218365 - 06/14/0201:08 PMRe: No rating templates
[Re: Sally]
JoshPet
I type Like navaho
Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I liked the ratings idea.. but my users were going to mention it at the mere suggestion of it. We run a support site and there were whole arguments about how everyone is important and it's tough to get people to participate... now add the fear of being rated poorly. So I edited the templates to remove it.<br /><br />I would agree with Scream. If infopop doesn't have a problem with it, the ability to download completed templates that make basic changes would be a plus. Surely anyone trying to fool with threads to begin with can handle uploading a different template file into their server. But completed templates would be easier than instructions to modify.
#218366 - 06/14/0202:27 PMRe: No rating templates
[Re: Daine]
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25434
Loc: Texas
The only thing about completed templates is that if you want thread ratings but not user ratings, your templates aren't gonna be compatible. Toggles for some things sound like a better solution in that if you don't want it, you just turn it off and it doesn't make it more difficult to edit the basic look of the template <img src="/forum/images/icons/smile.gif" alt="" /> Otherwise, you'd have to have an almost infinite number of templates available to cover the most basic of choices... moderators/no moderators, ratings/ no ratings, thread views/ no thread views, etc <img src="/forum/images/icons/smile.gif" alt="" /> <br /><br />I can make templates to look how I want them too, but not always the larger group of web site owners threads is beginning to attract <img src="/forum/images/icons/smile.gif" alt="" />
#218367 - 06/14/0203:05 PMRe: No rating templates
[Re: SurfMinister]
JoshPet
I type Like navaho
Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
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 />