php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#237827 - 09/06/03 07:17 AM Re: [6.2] Admin Selectable Ratings 1.0 [Re: Daine]
agate Offline
Newbie

Registered: 06/29/02
Posts: 19

   Re: [6.2] Admin Selectable Ratings 1.0 to Del.icio.us Add to del.icio.us
  Digg Re: [6.2] Admin Selectable Ratings 1.0 Digg it
Hi JoshPet,<br />Gardener said this one replaced the ratings mod from user right?<br /><br />Could you provide the mod which keep both?<br />

Top
#237828 - 09/06/03 09:19 AM Re: [6.2] Admin Selectable Ratings 1.0 [Re: ]
agate Offline
Newbie

Registered: 06/29/02
Posts: 19
I skipped it, Thanks for the help!

Top
#237829 - 09/30/03 12:42 AM Re: [6.2] Admin Selectable Ratings 1.0 [Re: Daine]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
Josh,<br /><br />Is it possible to run a query to default EVERYONE back to a zero status?<br /><br />Thanks,<br /><br />BWilliams

Top
#237830 - 09/30/03 01:18 AM Re: [6.2] Admin Selectable Ratings 1.0 [Re: vajraman]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This should work....<br /><br />UPDATE w3t_Users<br />SET U_RatingImage = ''<br /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237831 - 09/30/03 12:59 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: Daine]
BWilliams_dup1 Offline
Member

Registered: 03/09/03
Posts: 171
Loc: Southern California
[]JoshPet said:<br />This should work....<br /><br />UPDATE w3t_Users<br />SET U_RatingImage = ''<br /><br /> [/]<br />Worked PERFECTLY, thanks <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br /><br />Now, how can I add the rating to show on the showmembers.php page ?

Top
#237832 - 10/03/03 11:13 AM Re: [6.2] Admin Selectable Ratings 1.0 [Re: edr]
salim Offline
Member

Registered: 02/08/03
Posts: 200
Loc: Muscat, Oman
josh,<br /><br />this is great, however i would want to disable the classic rating that comes with the software, can I do that?. So I would be the only one who gives rating to the user rather than the users themselves
_________________________
This is where it all takes place!
[]http://www.omanforum.com/threads/uploads/3408-signeo.JPG[/]

Top
#237833 - 10/03/03 12:18 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: me_oh_my]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Admin -> Edit Config Settings -> "Do you want to enable the User Rating System?" = "No"<br /><br /><img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237834 - 10/04/03 01:34 AM Re: [6.2] Admin Selectable Ratings 1.0 [Re: Daine]
salim Offline
Member

Registered: 02/08/03
Posts: 200
Loc: Muscat, Oman
LOL, thanks dude, maybe I should keep my mouth shut, to avoid the embarresment <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
This is where it all takes place!
[]http://www.omanforum.com/threads/uploads/3408-signeo.JPG[/]

Top
#237835 - 10/08/03 10:10 AM Re: [6.2] Admin Selectable Ratings 1.0 [Re: me_oh_my]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
Instructions updated for 6.4


Attachments
96553-AdminSelectableRatings2_0.txt (49 downloads)

_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#237836 - 10/27/03 11:36 AM Re: [6.2] Admin Selectable Ratings 1.0 [Re: eslmix]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
Thanks - reposted here for 6.4
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#237837 - 01/21/04 01:16 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: Gorlum]
harsh Offline
Newbie

Registered: 10/02/03
Posts: 12
jsut got an error with this one. on showflat.php got a parse error on line 1007<br /><br /> // Now we can show the post<br /> $postrow[$i]['Number'] = $Number;<br /> } <-- this is line 1007<br /> $postrowsize = $i;<br /><br /> $dbh -> finish_sth($sth);<br /><br />what should i do. i didnt even touch that line when i edited the code. can someone help! it only happens when i click on a actual thread link: this is the code: Parse error: parse error in /usr/home/adultwebmasterhangout/ubbthreads/showflat.php on line 1007

Top
#237838 - 01/21/04 01:37 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: irnet]
harsh Offline
Newbie

Registered: 10/02/03
Posts: 12
o i am using 6.2.3

Top
#237839 - 01/21/04 10:20 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: irnet]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
A parse error usually means that you've missed something. Usually it's a { or } missing somewhere.<br /><br />Double check that you copied and pasted everthing needed and didn't miss any lines.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237840 - 02/11/04 05:03 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: Daine]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Josh it says to relace this line<br />
Code:
  SELECT t1.B_Number,t2.U_Username,t1.B_Posted,t1.B_IP,t1.B_Subject,t1.B_Body,t1.B_File,t1.B_Status,t1.B_Approved,t2.U_Picture,t1.B_Reged,t2.U_Title,t2.U_Color,t1.B_Icon,t1.B_Poll,t1.B_Parent,t2.U_Status,t2.U_Signature,t1.B_LastEdit,t1.B_LastEditBy,t2.U_Location,t2.U_TotalPosts,t2.U_Registered,t2.U_Rating,t2.U_Rates,t2.U_RealRating,t2.U_PicWidth,t2.U_PicHeight,t2.U_Number,t1.B_FileCounter,t1.B_AnonName<br /><br />
<br /><br />when mine actually looks like this<br />
Code:
//     SELECT t1.B_Number,t2.U_Username,t1.B_Posted,t1.B_IP,t1.B_Subject,t1.B_Body,t1.B_File,t1.B_Status,t1.B_Approved,t2.U_Picture,t1.B_Reged,t2.U_Title,t2.U_Color,t1.B_Icon,t1.B_Poll,t1.B_Parent,t2.U_Status,t2.U_Signature,t1.B_LastEdit,t1.B_LastEditBy,t2.U_Location,t2.U_TotalPosts,t2.U_Registered,t2.U_Rating,t2.U_Rates,t2.U_RealRating,t2.U_PicWidth,t2.U_PicHeight,t2.U_Number,t1.B_FileCounter,t1.B_AnonName, [:"red"]t1.B_ParentUser[/]<br />   
<br /><br /><br />and I am also getting this now<br /><br />SQL ERROR: Unable to do_query: // SELECT t1.B_Number,t2.U_Username,t1.B_Posted,t1.B_IP,t1.B_Subject,t1.B_Body,t1.B_File,t1.B_Status,t1.B_Approved,t2.U_Picture,t1.B_Reged,t2.U_Title,t2.U_Color,t1.B_Icon,t1.B_Poll,t1.B_Parent,t2.U_Status,t2.U_Signature,t1.B_LastEdit,t1.B_LastEditBy,t2.U_Location,t2.U_TotalPosts,t2.U_Registered,t2.U_Rating,t2.U_Rates,t2.U_RealRating,t2.U_PicWidth,t2.U_PicHeight,t2.U_Number,t1.B_FileCounter,t1.B_AnonName,t1.B_ParentUser SELECT t1.B_Number,t2.U_Username,t1.B_Posted,t1.B_IP,t1.B_Subject,t1.B_Body,t1.B_File,t1.B_Status,t1.B_Approved,t2.U_Picture,t1.B_Reged,t2.U_Title,t2.U_Color,t1.B_Icon,t1.B_Poll,t1.B_Parent,t2.U_Status,t2.U_Signature,t1.B_LastEdit,t1.B_LastEditBy,t2.U_Location,t2.U_TotalPosts,t2.U_Registered,t2.U_RatingImage,t2.U_PicWidth,t2.U_PicHeight,t2.U_Number,t1.B_FileCounter,t1.B_AnonName,t1.B_ParentUser FROM w3t_Posts AS t1, w3t_Users AS t2 WHERE t1.B_Main = 62335 AND t1.B_PosterId = t2.U_Number ORDER BY B_Number LIMIT 30 <br />You have an error in your SQL syntax near '// SELECT t1.B_Number,t2.U_Username,t1.B_Posted,t1.B_IP,t1.B_Subject,t1.B_Bo' at line 2
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#237841 - 02/11/04 05:11 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: barbiro]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Ok I got rid of the SQL error,apparently it did not like the way I commented out the original line and I added this to the end of your line <br /> <br />t1.B_ParentUser <br /> <br />My new question is does this hack take away the function for users to rate each other because now Everyones stars are missing except those that I have given out. <br /> <br />Edit-Ok I have read this thread now in its entirety and see this question was raised before by Gardener.Can some one explain to me how to get the user ratings functional with this mod? I am using 6.3 currently


Edited by ChAoS (02/11/04 05:36 PM)
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#237842 - 02/11/04 06:32 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: barbiro]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yes, this one does. The latest version (the 6.4 version) allows you to have either.<br /><br />http://www.ubbdev.com/forum/showflat.php/Number/104956
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237843 - 02/13/04 04:16 PM Re: [6.2] Admin Selectable Ratings 1.0 [Re: Daine]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
<img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /> I guess I am going to have to upgrade sooner than I planned<br /><br />FYI t1.B_ParentUser must be from a mod that I installed that added the "in reply to" function. Its not working at the moment so I assume I must have accidentily edited some of it out when installing the user ratings mod *sigh*
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
Page 2 of 2 < 1 2


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
0 Registered (), 21 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks