php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#218347 - 06/09/02 03:45 PM No rating templates
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany

   No rating templates to Del.icio.us Add to del.icio.us
  Digg No rating templates Digg it
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.


Attachments
49245-no_rating_tmpl.txt (32 downloads)

_________________________
Running a community? -> Keep informed and take it to the next level

Top
#218348 - 06/09/02 04:27 PM Re: No rating templates [Re: -Fusion-]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25434
Loc: Texas
danke Astaran <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#218349 - 06/09/02 05:16 PM Re: No rating templates [Re: -Fusion-]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
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 />

Top
#218350 - 06/09/02 05:22 PM Re: No rating templates [Re: bisbell]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
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

Top
#218351 - 06/09/02 05:31 PM Re: No rating templates [Re: -Fusion-]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
OK, I changed it back, here you go.<br /><br />http://coloradok5.com/forums/postlist.php?Cat=&Board=garage<br /><br />Thanks for doing this by the way.

Top
#218352 - 06/09/02 05:53 PM Re: No rating templates [Re: bisbell]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
<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/02 05:58 PM)
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#218353 - 06/09/02 06:11 PM Re: No rating templates [Re: -Fusion-]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
Just emailed them to you.

Top
#218354 - 06/09/02 06:13 PM Re: No rating templates [Re: -Fusion-]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Ok, found the mistake. <br />The attached instructions work if you use the original templates. <br />


Attachments
49267-no_rating_tmpl_v2.txt (19 downloads)



Edited by Astaran (06/09/02 06:18 PM)
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#218355 - 06/09/02 06:29 PM Re: No rating templates [Re: -Fusion-]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
Ooops, now when you click on a post the post does not show up.

Top
#218356 - 06/09/02 06:32 PM Re: No rating templates [Re: bisbell]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
When you click on a post nothing is there.<br /><br />http://coloradok5.com/forums/postlist.php?Cat=&Board=garage

Top
#218357 - 06/09/02 06:55 PM Re: No rating templates [Re: -Fusion-]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
Looks like I had to just leave line 108 in showflat alone and it displays again.

Top
#218358 - 06/09/02 08:32 PM Re: No rating templates [Re: -Fusion-]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
OK, now everything works per your instructions, not sure what happened when I did it.

Top
#218359 - 06/13/02 12:18 PM Re: No rating templates [Re: -Fusion-]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
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

Top
#218360 - 06/13/02 11:14 PM Re: No rating templates [Re: bisbell]
DTS Offline
Lurker

Registered: 05/09/02
Posts: 5
"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!


Edited by DTS (06/13/02 11:18 PM)

Top
#218361 - 06/14/02 12:37 AM Re: No rating templates [Re: bisbell]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
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 &nbsp;<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

Top
#218362 - 06/14/02 12:17 PM Re: No rating templates [Re: figmentium]
Rick Offline
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.
_________________________
StogieSmokers.com

Top
#218363 - 06/14/02 12:37 PM Re: No rating templates [Re: figmentium]
coloradok5 Offline
Enthusiast

Registered: 07/11/01
Posts: 462
Loc: Colorado
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="" />

Top
#218364 - 06/14/02 12:41 PM Re: No rating templates [Re: Sally]
Gardener Offline
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.
_________________________
/Gardener | Complete list of my mods

Top
#218365 - 06/14/02 01:08 PM Re: No rating templates [Re: Sally]
JoshPet Offline
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.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#218366 - 06/14/02 02:27 PM Re: No rating templates [Re: Daine]
AllenAyres Administrator Offline
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="" />
_________________________
- Allen wavey
- What Drives You?

Top
#218367 - 06/14/02 03:05 PM Re: No rating templates [Re: SurfMinister]
JoshPet Offline
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
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#218368 - 06/14/02 11:37 PM Re: No rating templates [Re: c0bra]
DTS Offline
Lurker

Registered: 05/09/02
Posts: 5
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 />

Top
#218369 - 06/15/02 10:20 AM Re: No rating templates [Re: figmentium]
MTO Offline
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.
_________________________
Mateo Byler
CruceDeCaminos.com

Top
#218370 - 07/05/02 01:22 PM Re: No rating templates [Re: D_Wolfwood]
rlevant Offline
Lurker

Registered: 07/05/02
Posts: 2
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 />

Top
#218371 - 07/05/02 03:30 PM Re: No rating templates [Re: -Fusion-]
mrnocal Offline
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


Attachments
51914-showflat.txt (9 downloads)

_________________________
-Marty
Club MOTS General Manager

Top
#218372 - 07/05/02 04:17 PM Re: No rating templates [Re: Glazor]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25434
Loc: Texas
nice, and thanks for sharing <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#218373 - 07/05/02 07:56 PM Re: No rating templates [Re: SurfMinister]
mrnocal Offline
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&amp;Board=$Board&amp;page=$page&amp;view=$view&amp;sb=$sortrating&amp;o=$o"><br />{$ubbt_lang['RATING']}<br /></a><br /> $RatingS<br /> <br /></td>


Attachments
51933-postlist.txt (10 downloads)

_________________________
-Marty
Club MOTS General Manager

Top
#218374 - 07/05/02 08:04 PM Re: No rating templates [Re: Glazor]
mrnocal Offline
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


Attachments
51934-showthreaded.txt (13 downloads)

_________________________
-Marty
Club MOTS General Manager

Top
#218375 - 07/10/02 06:00 PM Help please [Re: Glazor]
Beentheredonethat Offline
Member

Registered: 05/10/02
Posts: 160
Loc: Not here
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

Top
#218376 - 07/14/02 12:37 PM Re: Help please [Re: charts]
dlhanso1 Offline
Lurker

Registered: 07/14/02
Posts: 1
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

Top
#218377 - 07/14/02 07:35 PM Re: Help please [Re: HeartIcy]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
Very simple instructions to remove Thread/Post Ratings attached.


Attachments
52523-Remove_thread-post_ratings.txt (12 downloads)

_________________________
[:"red"]Lisa[/]

Top
#218378 - 07/14/02 07:36 PM Re: Help please [Re: HeartIcy]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
Very simple instructions to remove User Ratings attached.


Attachments
52524-Remove_user_ratings.txt (18 downloads)

_________________________
[:"red"]Lisa[/]

Top
#218379 - 07/14/02 10:50 PM Re: Help please [Re: JacquiL]
Dave_L_dup1 Offline
Addict

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 &nbsp;<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.

Top
#218380 - 07/24/02 04:08 PM Re: No rating templates [Re: -Fusion-]
pootlecat Offline
Power User

Registered: 07/24/02
Posts: 83
Loc: Canada
Thanks so much for your help!<br />I was desperate to remove the ratings - my users were beginning to fight over them ;P
_________________________
Never heard of Neopets.com?
If so then you won't like my site ;P

Top
#218381 - 07/25/02 09:31 PM Re: No rating templates [Re: -Fusion-]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
If anyone would like Ratings removed in all but a FEW of their forums... I posted a hack/template mode HERE.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#218382 - 08/31/02 04:02 PM Re: No rating templates [Re: Daine]
SchoolScandals Offline
Journeyman

Registered: 07/27/02
Posts: 138
What happened here?<br /><br />I'm so confused please help!<br /><br />http://65.166.97.24/ubbthreads/postlist.php?Cat=&Board=alemanyHS

Top
#218383 - 08/31/02 05:49 PM Re: No rating templates [Re: TestPappy]
Gardener Offline
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=&amp;Board=alemanyHS&amp;page=0&amp;view=collapsed&amp;sb=1&amp;o=93"><br />Subject<br /></a><br /></td><br />
_________________________
/Gardener | Complete list of my mods

Top
#218384 - 08/31/02 06:21 PM Re: No rating templates [Re: c0bra]
SchoolScandals Offline
Journeyman

Registered: 07/27/02
Posts: 138
It happens with all of the forums. What do I need put back in the template?

Top
#218385 - 08/31/02 06:53 PM Re: No rating templates [Re: TestPappy]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala