Previous Thread
Next Thread
Print Thread
Rating: 10
Page 1 of 2 1 2
#218347 06/09/2002 3:45 PM
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Some don't want to use the new rating feature in UBBT 6.0
For those I put together some instructions for removing all these components.
Only some small changes in your template files are needed.
Just see the attached file.
Attachments
49245-no_rating_tmpl.txt (0 Bytes, 91 downloads)

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
danke Astaran


- Allen wavey
- What Drives You?
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
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.
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.
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.

Anyone want to tell me how to remove the stars from the users that already have been rated.


Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Can you give me a link so that i can take a look what ratings still occur?
Maybe i missed something. I modified several things in my templates so this happens easily.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
OK, I changed it back, here you go.

http://coloradok5.com/forums/postlist.php?Cat=&Board=garage

Thanks for doing this by the way.

Sponsored Links
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471

I checked my instructions i missed the display of the message rating. Will repost it in a few minutes.
But you have some other mistake in your templates.
Would you mind to send me your modified templates files?
I could take a quick look and hopefully find the mistake.

Last edited by Astaran; 06/09/2002 5:58 PM.
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Just emailed them to you.

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Ok, found the mistake.
The attached instructions work if you use the original templates.
Attachments
49267-no_rating_tmpl_v2.txt (0 Bytes, 89 downloads)

Last edited by Astaran; 06/09/2002 6:18 PM.
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Ooops, now when you click on a post the post does not show up.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
When you click on a post nothing is there.

http://coloradok5.com/forums/postlist.php?Cat=&Board=garage

Sponsored Links
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Looks like I had to just leave line 108 in showflat alone and it displays again.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
OK, now everything works per your instructions, not sure what happened when I did it.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
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?

Thanks

Joined: May 2002
Posts: 4
DTS Offline
Lurker
Lurker
Offline
Joined: May 2002
Posts: 4
"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."

I agree wholeheartedly! And recommend that the admin. control option should be restored in the next version.

In any event, this thread is very helpful. Thanks!

Last edited by DTS; 06/13/2002 11:18 PM.
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
Here you go:
showprofile.tmpl
find line 62-68
code:
<tr>
<td class="darktable">
{$ubbt_lang['RATING']}
</td>
<td>
$Rating  
</td>
</tr>



remove that too.

Will update the full instructions when i'm back home.

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
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.

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.


UBB.threads Developer
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Thank's DTS, one of these days I am going to have spare time where I can fool around with this stuff myself.

Sally #218364 06/14/2002 12:41 PM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Maybe the templates without ratings could be included in the threads package and a question in the install asks which versions to make default?

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.

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.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

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.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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 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

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


- Allen wavey
- What Drives You?
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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. LOL

c0bra #218368 06/14/2002 11:37 PM
Joined: May 2002
Posts: 4
DTS Offline
Lurker
Lurker
Offline
Joined: May 2002
Posts: 4
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.

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.

Joined: Jan 2000
Posts: 796
MTO Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
Agreed, I like it more being totally template based.
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.
Ideally it would be somewhat like a Yahoo style of index place, where you go through different categories to find the template you like.

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.

Joined: Jul 2002
Posts: 2
Lurker
Lurker
Offline
Joined: Jul 2002
Posts: 2
Hi there

Are the complete rating templates posted anywhere?
I already messed withthe rating template unsuccessfully so the instructions don't help much.


Scream mentioned these were posted somewhere inthe template forum but so far I can't find them...anyone?
Thanks
Renee

Joined: Jun 2002
Posts: 29
User
User
Offline
Joined: Jun 2002
Posts: 29
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.
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.

in the showflat.tmpl, remove the following parts:

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

<tr>
<td class="small">
<b>{$postrow[$i]['Rating']}</b>
</td>
</tr>

$ratinghtml
Attachments
51914-showflat.txt (0 Bytes, 189 downloads)


-Marty
Club MOTS General Manager
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
nice, and thanks for sharing


- Allen wavey
- What Drives You?
Joined: Jun 2002
Posts: 29
User
User
Offline
Joined: Jun 2002
Posts: 29
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.

Remove the following from postlist.tmpl:

<td align="center" nowrap="nowrap">
{$postrow[$i]['Rating']}
</td>

and

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

</td>
Attachments
51933-postlist.txt (0 Bytes, 195 downloads)


-Marty
Club MOTS General Manager
Joined: Jun 2002
Posts: 29
User
User
Offline
Joined: Jun 2002
Posts: 29
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.

All I removed were the following:

<tr>
<td class="small">
<b>$Rating</b>
</td>
</tr>

and

{$ubbt_lang['RATING']}: $ThreadRating

and

$ratinghtml
Attachments
51934-showthreaded.txt (0 Bytes, 204 downloads)


-Marty
Club MOTS General Manager
Glazor #218375 07/10/2002 6:00 PM
Joined: May 2002
Posts: 153
Member
Member
Offline
Joined: May 2002
Posts: 153
I want to remove all the ratings, my members hate them...
I read all posts above and still do not see how to do it...
Can someone please post exactly what needs to be done and where for a guy who is not good with code?
(There seems to be several options... I just need one that works)
I use UBB.threadsâ„¢ 6.0.1
Thanks

charts #218376 07/14/2002 12:37 PM
Joined: Jul 2002
Posts: 1
Lurker
Lurker
Offline
Joined: Jul 2002
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.
I'm not good at code either so I'll need detailed instructions to get rid of them.

Thanks

HeartIcy #218377 07/14/2002 7:35 PM
Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
Very simple instructions to remove Thread/Post Ratings attached.
Attachments
52523-Remove_thread-post_ratings.txt (0 Bytes, 68 downloads)


[:"red"]Lisa[/]
HeartIcy #218378 07/14/2002 7:36 PM
Joined: Mar 2002
Posts: 305
Enthusiast
Enthusiast
Offline
Joined: Mar 2002
Posts: 305
Very simple instructions to remove User Ratings attached.
Attachments
52524-Remove_user_ratings.txt (0 Bytes, 76 downloads)


[:"red"]Lisa[/]
JacquiL #218379 07/14/2002 10:50 PM
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I believe you also need to comment out the section which displays the current rating:

code:
<!--
<tr>
<td class="darktable">
{$ubbt_lang['RATING']}
</td>
<td>
$Rating  
</td>
</tr>
-->



Joined: Jul 2002
Posts: 79
Power User
Power User
Offline
Joined: Jul 2002
Posts: 79
Thanks so much for your help!
I was desperate to remove the ratings - my users were beginning to fight over them ;P

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
If anyone would like Ratings removed in all but a FEW of their forums... I posted a hack/template mode HERE.

Joined: Jul 2002
Posts: 135
Journeyman
Journeyman
Joined: Jul 2002
Posts: 135
What happened here?

I'm so confused please help!

http://65.166.97.24/ubbthreads/postlist.php?Cat=&Board=alemanyHS

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
It seems that you have removed the Subject table header cell as well.

Just remove the comments around the following code:

<td align="left" width="50%" class="tdheader">
<a href="http://65.166.97.24/ubbthreads/postlist.php?Cat=&Board=alemanyHS&page=0&view=collapsed&sb=1&o=93">
Subject
</a>
</td>

Joined: Jul 2002
Posts: 135
Journeyman
Journeyman
Joined: Jul 2002
Posts: 135
It happens with all of the forums. What do I need put back in the template?

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
I did tell you, but here is a more thorough explanation that should fix your problem:

Open the file templates/default/postlist.tmpl

Find this block of code:

<!-- <td align="left" width="50%" class="tdheader">

<a href="http://65.166.97.24/ubbthreads/postlist.php?Cat=&Board=alemanyHS&page=0&view=collapsed&sb=1&o=93">

Subject

</a>

</td> -->

Replace it with this:

<td align="left" width="50%" class="tdheader">

<a href="http://65.166.97.24/ubbthreads/postlist.php?Cat=&Board=alemanyHS&page=0&view=collapsed&sb=1&o=93">

Subject

</a>

</td>

Joined: Jul 2002
Posts: 135
Journeyman
Journeyman
Joined: Jul 2002
Posts: 135
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.

-SchoolScandals

Page 1 of 2 1 2

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
hatter
hatter
USA
Posts: 69
Joined: January 2001
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)