php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#198738 - 01/21/03 10:24 PM [6.2.1 - 6.4] Rate This Thread
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25365
Loc: Texas
Name: Rate This Thread

Description: Allows your users to be able to rate a thread

Link: MultiHack File

Author: Philipp

Demo: http://www.ubbdev.com/db/cgi/ultimatebb.cgi

Requirement: UBB™ 6.2.1 - 6.4 vars_wordlets_mods
_________________________
- Allen wavey
- What Drives You?

Top
#198739 - 08/05/03 03:09 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Allen, I installed this, but when I rate a thread, it says "Taking you back to Forum 4"

Is there anyway to get it to go back to the topic, and maybe use the topics name, and not it's number?
_________________________
Code monkey like Fritos

Top
#198740 - 08/09/03 06:57 PM Re: [6.2.1 - 6.4] Rate This Thread
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25365
Loc: Texas
possible, I'll look at it when I get back from my break™

tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#198741 - 08/10/03 08:43 PM Re: [6.2.1 - 6.4] Rate This Thread
The Finman Offline
Member

Registered: 07/26/02
Posts: 42
Hmmmmmm...tried adding it to my 6.5 board and hacking the four original files was no problem whatsoever.

I uploaded the four modified original files (public_forum_page.pl, public_topic_page.pl, ultimatebb.cgi, vars_wordlets_mods.cgi), the one new cgi file (ubb_rate_topic.cgi), the rating star GIFS to the UBB folder and I added the "thread_rating" folder (plus the recommended index.html) and properly chmoded all the files (cgi=755, vars=777, .pl=644 uploaded in ASCII and image GIFS uploaded in Binary and not chmoded)

Although I can see the new wordlets in the control panel, I can't see it on the board anyplace.

I looked at your Demo link.

http://www.ubbdev.com/db/cgi/ultimatebb.cgi

And I can't seem to see it there either.

So either I goofed up somewhere, I'm blind and can't see the modification or this doesn't work with 6.5 help
_________________________

Top
#198742 - 08/10/03 09:04 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
well mine installed fine on 6.5. Uploaded cleared cache and it showed up fine. Assuming you're hacking the board at http://www.ronaldreagan.com/cgi-bin/ultimatebb.cgi . All I can suggest is clearing the cache, and if that doesn't work, rehack and reupload public_forum_page.pl and public_topic_page.pl.

btw: I know this is a given but I've forgotten before. Make sure you cleared all the cache, not just the forum summary page, etc
_________________________
Code monkey like Fritos

Top
#198743 - 08/10/03 09:08 PM Re: [6.2.1 - 6.4] Rate This Thread
The Finman Offline
Member

Registered: 07/26/02
Posts: 42
Quote:
quote:
Originally posted by Weird Al:
well mine installed fine on 6.5. Uploaded cleared cache and it showed up fine. Assuming you're hacking the board at http://www.ronaldreagan.com/cgi-bin/ultimatebb.cgi . All I can suggest is clearing the cache, and if that doesn't work, rehack and reupload public_forum_page.pl and public_topic_page.pl.

btw: I know this is a given but I've forgotten before. Make sure you cleared all the cache, not just the forum summary page, etc
Thanks Weird AL, I did clear my cache (twice) after I installed it...so I must have an error some place else.

But since you said that you added it to your 6.5, that definitely helps narrow my search...thanks! thumbsup


Just out of curiousity can you tell me where the "Rate this Thread" is located in an actual post?
_________________________

Top
#198744 - 08/10/03 09:11 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
right below the printer icon, all the way at the bottom. At least it would be in a working hack tipsy
_________________________
Code monkey like Fritos

Top
#198745 - 08/10/03 11:00 PM Re: [6.2.1 - 6.4] Rate This Thread
The Finman Offline
Member

Registered: 07/26/02
Posts: 42
Thanks again Weird Al!! laugh

Your input allowed me to narrow the source of the problem. laugh

I had use "MultiHack" to modify the files, but this time I simply hacked the files myself and this time it worked.

Oh well, smiles & kudo's all the way around! laugh

Thanks buddy! thumbsup
_________________________

Top
#198746 - 08/10/03 11:01 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
well I see you got it to work, what was wrong with it?

btw: cool
_________________________
Code monkey like Fritos

Top
#198747 - 08/10/03 11:05 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
how did you do that? It didn't take me that long to type shocked
_________________________
Code monkey like Fritos

Top
#198748 - 08/10/03 11:09 PM Re: [6.2.1 - 6.4] Rate This Thread
The Finman Offline
Member

Registered: 07/26/02
Posts: 42
Quote:
quote:
Originally posted by Weird Al:
well I see you got it to work, what was wrong with it?

btw: cool
Not really sure to be honest.

I used "MultiHack" to change the original files..this time I simply exported the modification file and instructions and did all the mods myself and it worked.../me shrugs

Kind of cool board board you have their Weird Al...I may have to register. cool

Thanks again! thumbsup
_________________________

Top
#198749 - 08/10/03 11:13 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
thanks, but don't get too comfy with the hacks. Should be upgrading to 6.6 Beta any day now laugh

oh, btw: multihack is known for making mistakes. kinda like how a computer would want to take the shortest route, even though a human would see that it was covered in snow (analogies was never my strong suit)
_________________________
Code monkey like Fritos

Top
#198750 - 08/10/03 11:39 PM Re: [6.2.1 - 6.4] Rate This Thread
The Finman Offline
Member

Registered: 07/26/02
Posts: 42
Quote:
quote:
Originally posted by Weird Al:
thanks, but don't get too comfy with the hacks. Should be upgrading to 6.6 Beta any day now laugh
Yeah, but the Reagan Foundation's license just expired and while I have no doubt that the Foundation will pay for the license renewal...I'm not sure (as their web master) that I want to reinstall all the custom hacks that I've added...unless A) the new UBB software is a significant leap forward...and B) that if the the new versions support the hacks that I've already added.

As it seems right now...I'm adding custom hacks (only to see them added to the upgrade software), and while I understand this, I may have to take a break.
_________________________

Top
#198751 - 08/12/03 12:53 AM Re: [6.2.1 - 6.4] Rate This Thread
autostream Offline
Member

Registered: 05/15/01
Posts: 55
problem with 6.3.1.1
Completely functional however, problem with 'online users' i dont remember if that was a hack also, but the column(or row rather) gets messed up

http://autostream.com/forum

Top
#198752 - 08/22/03 01:35 PM Re: [6.2.1 - 6.4] Rate This Thread
Mr. B Offline
Member

Registered: 04/13/03
Posts: 56
Hi,

I had the same problem of Finman with 6.5

I think the problem is with vars_wordlet_mods file because actions are working fine but nothing written....

Any ideas?

Top
#198753 - 08/22/03 01:37 PM Re: [6.2.1 - 6.4] Rate This Thread
Mr. B Offline
Member

Registered: 04/13/03
Posts: 56
and I did clear the cach.

Top
#198754 - 08/22/03 04:32 PM Re: [6.2.1 - 6.4] Rate This Thread
Mrs.B Offline
Member

Registered: 08/15/03
Posts: 71
I have the same problem too frown

I can't see the numbers of the rating Or the header of the column frown

Help Guyz =|

Top
#198755 - 08/22/03 06:06 PM Re: [6.2.1 - 6.4] Rate This Thread
CTM Offline
Moderator / Da Masta

Registered: 11/23/01
Posts: 2567
Did you install the Mods Wordlet DevKit, and if so, are you sure you installed it correctly?

Top
#198756 - 08/23/03 10:22 PM Re: [6.2.1 - 6.4] Rate This Thread
Mr. B Offline
Member

Registered: 04/13/03
Posts: 56
Now it is working fine.

Thanks CTM smile

Top
#198757 - 08/25/03 12:27 AM Re: [6.2.1 - 6.4] Rate This Thread
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25365
Loc: Texas
hehe, mebbe I should bold those instructions tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#198758 - 08/26/03 05:55 AM Re: [6.2.1 - 6.4] Rate This Thread
Mr. B Offline
Member

Registered: 04/13/03
Posts: 56
Quote:
quote:
Originally posted by AllenAyres:
hehe, mebbe I should bold those instructions tipsy

Top
#198759 - 10/29/03 12:02 AM Re: [6.2.1 - 6.4] Rate This Thread
autostream Offline
Member

Registered: 05/15/01
Posts: 55
and where would you suggest I look...

Quote:
quote:
problem with 6.3.1.1
Completely functional however, problem with 'online users' i dont remember if that was a hack also, but the column(or row rather) gets messed up

http://autostream.com/forum

Top
#198760 - 10/29/03 01:43 AM Re: [6.2.1 - 6.4] Rate This Thread
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25365
Loc: Texas
hmm, got a colspan problem in there related to pntf. quick fix would be to 'undock' the pntf until you can figure out the location for that particular table
_________________________
- Allen wavey
- What Drives You?

Top
#198761 - 05/04/04 11:27 PM Re: [6.2.1 - 6.4] Rate This Thread
eXtremeTim Offline
Member

Registered: 10/13/01
Posts: 544
anybody know if this works for 6.6?
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=extremetim&s=1[/img]

Top
#198762 - 05/04/04 11:34 PM Re: [6.2.1 - 6.4] Rate This Thread
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25365
Loc: Texas
It worked for me in our ezine forum here, even up to 6.7 I believe. You might need to adjust it here and there for it to fit, but it works smile
_________________________
- Allen wavey
- What Drives You?

Top
#198763 - 05/04/04 11:42 PM Re: [6.2.1 - 6.4] Rate This Thread
eXtremeTim Offline
Member

Registered: 10/13/01
Posts: 544
Thats great to hear. smile I will install it later tonight.
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=extremetim&s=1[/img]

Top
#198764 - 05/14/04 08:29 PM Re: [6.2.1 - 6.4] Rate This Thread
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
I see Tim got this working on 6.6.. Can anyone confirm this works on 6.7.1 before I go hacking away? smile
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#198765 - 05/14/04 08:32 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I've got it working on 6.7.1, but I can't remember if I changed anything.
_________________________
Code monkey like Fritos

Top
#198766 - 05/15/04 01:45 AM Re: [6.2.1 - 6.4] Rate This Thread
eXtremeTim Offline
Member

Registered: 10/13/01
Posts: 544
I already got it working on 6.6 as well. smile
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=extremetim&s=1[/img]

Top
#198767 - 05/15/04 04:31 AM Re: [6.2.1 - 6.4] Rate This Thread
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Hmm...

Can't locate /cgi/vars_rate.cgi at cgiultimatebb.cgi line 129.

I didn't seem to get this file on an export as I can't find it...

I tried to do a text export of this hack with multihack and it deleted not only my original files, but a directory where I've been keeping copies of every modified file in seperate directories for each hack, plus another directory where I have been a copy of what's on the server every time I add a hack. I don't know or understand how the **F** that happened, even when I made sure I had it set not to delete the output directory. The unfortunate thing now is that I have absolutely no backup copies of my original files and I don't know whether to cry or punch a whole in the wall. One thing is for sure, I will **never** use multihack on the same computer where I personally modify my own files again! Argh... mad

Can someone help me please before I decide to walk off the end of my fire escape? help

Thanks again...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#198768 - 05/15/04 11:51 AM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
vars_rate.cgi? I've got no clue, I didn't have it and mine works fine
_________________________
Code monkey like Fritos

Top
#198769 - 05/15/04 12:02 PM Re: [6.2.1 - 6.4] Rate This Thread
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Argh... I've got no backup files... Multihack deleted everything in three different directories... Please don't tell me I have to start over...

Do I need to rename ubb_rate_topic.cgi?
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#198770 - 05/15/04 12:05 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
Originally posted by GATOR420:

Argh... I've got no backup files... Multihack deleted everything in three different directories... Please don't tell me I have to start over...


This is why you always keep a backup copy of the zip.

*walks off quietly*
_________________________
Code monkey like Fritos

Top
#198771 - 05/15/04 12:39 PM Re: [6.2.1 - 6.4] Rate This Thread
Gizmo Administrator Offline
Wizard

Registered: 01/10/00
Posts: 5091
Loc: Portland, OR, USA
Quote:
Originally posted by Ian Spence:
This is why you always keep a backup copy of the zip.

*walks off quietly*


Ian, you're a bad bad man...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#198772 - 05/15/04 12:54 PM Re: [6.2.1 - 6.4] Rate This Thread
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
'Eh, I had copies of everything in two different locations, plus a seperate location for files specifically modified in each hack. Thanks to Multihack I have nothing. Even if I had a zipped copy, I'm sure multihack would have had it's way with it too. So to say I took precautions in making backups would be an understatement. Fortunately, I found I do have a deleted copy of my directories about one hack back I can restore.

However, if you review the hack. for public_topic_page.pl, it says find

$print_topic_wording
</font>

and replace with

<for m action="$vars_config{CGIURL}/ultimatebb.cgi" method="post">
<b>$vars_wordlets_rate{rate_topic} </b><select name="rate_select">
<option value="0">$vars_wordlets_mods{rate_it}</option>
<option value="5">$vars_wordlets_mods{rate_5}</option>
<option value="4">$vars_wordlets_mods{rate_4}</option>
<option value="3">$vars_wordlets_mods{rate_3}</option>
<option value="2">$vars_wordlets_mods{rate_2}</option>
<option value="1">$vars_wordlets_mods{rate_1}</option>
</select>
<input type="hidden" name="ubb" value="rate_topic" />
<input type="hidden" name="id" value="$forum_number" />
<input type="hidden" name="threadname" value="$topic_number" />
<input type="submit" value="$vars_wordlets{click_go}" />
</for m>

However, the only reference I can find to what I'm supposed to be looking for is

my $print_topic_wording = ($vars_display{PrintTopic} ne "no"
? qq(<a href="$ULTIMATEBB{"ubb=print_topic;f=$in{f};t=$topic_number"}"><img src="$vars_config{NonCGIURL}/$vars_style{print_topic_icon}" border="0" alt=" - " title="" /> $vars_wordlets{print_topic_leader}</a>)
: "" );

Are you sure you don't have to do anything special for 6.7.1? smile
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#198773 - 05/15/04 01:07 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
look harder, towards the bottom
_________________________
Code monkey like Fritos

Top
#198774 - 05/15/04 01:09 PM Re: [6.2.1 - 6.4] Rate This Thread
eXtremeTim Offline
Member

Registered: 10/13/01
Posts: 544
The reference is there. I found what you posted there and what I was supposed to find as well. Instead of replacing I added below. Just so you know.
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=extremetim&s=1[/img]

Top
#198775 - 05/15/04 02:33 PM Re: [6.2.1 - 6.4] Rate This Thread
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
OK, I just restored everything to about where I had it and tried again. Exact same error...

There was a compilation error while loading the UBB.classic libraries and data files:

Can't locate /cgi/vars_rate.cgi at cgiultimatebb.cgi line 129.


Please make sure that you uploaded the CGI and Variables files to the proper directory, permissions are set properly on the files, and that paths in the control panel are set correctly.

It seems I am getting the same errors as Multihack...

There was another post on another older thread with the same error message as me on an older version. It's here:

http://www.ubbdev.com/ubb/ultimatebb.php/ubb/get_topic/f/20/t/000167/p/5

By Bo$$

Any other possibilities? I do have several other hacks installed.. Maybe there is a conflict?
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#198776 - 05/15/04 02:39 PM Re: [6.2.1 - 6.4] Rate This Thread
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Gator, remove "rate" from the line beginning

Code:
foreach my $file (qw(
around line 140 of ultimatebb.cgi
_________________________
Code monkey like Fritos

Top
#198777 - 05/15/04 02:59 PM Re: [6.2.1 - 6.4] Rate This Thread
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Good gravy man, you are a friggin' genius!

I can only hope this will help others who may have the same problem. smile

Thanks again for your help and patience.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#313496 - 03/11/07 04:26 PM