No account yet?
 

Subscriptions

ImageWhen you sign up as a premium subscriber, you get more than access to a host of fantastic features. You become a member of a flourishing community that continuously improves the very projects that run your website. Why not sign up today?

Subscriber Benefits

  • Subscriber only addons and plugins!
  • Latest beta code and SVN builds!
  • Access new versions before anyone else!
  • Premium Priority Support!
  • User Manuals for our components!
Read On!
Pragmatic Utopia
Welcome, Guest
Please or Register.    Lost Password?
Preferred PUArcade Web Host:
text front of system rating (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: text front of system rating
#9211
adonis (User)
User
Posts: 35
graphgraph
User Online Now Click here to see the profile of this user
text front of system rating 2 Months, 1 Week ago Karma: 0  
Hi,
can you help me please to add a text ( example: "vote for this game" ) front of the system rating.
I found the part of code in puarcade.html.php but i don't know how to do.

Code:

<div class="pu_heading"><?php echo $game->title; ?></div><br> <div id="rate1" class="rating"> <?php //Show the rater if ($config->rate == 1) { puarcade_html::WriteRater($game->id); } ?> </div>
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/21 08:00 By adonis.
  The administrator has disabled public write access.


#9214
jg_balcombe (Moderator)
Moderator
Posts: 221
graphgraph
User Offline Click here to see the profile of this user
Gender: Male FGFC jg_balcombe@hotmail.com Location: Delhi, India Birthdate: 1973-08-31
Re:text front of system rating 2 Months, 1 Week ago Karma: 9  
Hi,

Can you let me know what you are trying to achieve?

Regards,
James.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9218
adonis (User)
User
Posts: 35
graphgraph
User Online Now Click here to see the profile of this user
Re:text front of system rating 2 Months, 1 Week ago Karma: 0  
Is it possible to add a text like the photo:
thanks James
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/09/21 10:17 By adonis.
  The administrator has disabled public write access.
#9234
adonis (User)
User
Posts: 35
graphgraph
User Online Now Click here to see the profile of this user
Re:text front of system rating 2 Months, 1 Week ago Karma: 0  
no idea for this?
thanks in advance
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9239
pragma (Admin)
Admin
Posts: 2409
graph
User Online Now Click here to see the profile of this user
Gender: Male Pragmatic Utopia PUArcade
Re:text front of system rating 2 Months, 1 Week ago Karma: 89  
Open puarcade.html.php. Search for "Write Rater", around line 112.

Put this at line 118, so it is between the two lines that start with script type=...:

Code:

Vote for this game:
It may show up on a different line, I'm not sure. Let us know how it goes.
 
Report to moderator   Logged Logged  
 
Please DO NOT send support requests via PM or email. Instead, please post a question in the forums so everyone can benefit. Yes, this means you. No, your problem is not an exception.
  The administrator has disabled public write access.
#9260
Vanama (User)
Geek
Posts: 274
graphgraph
User Offline Click here to see the profile of this user
Zábava-online.cz
Re:text front of system rating 2 Months, 1 Week ago Karma: 18  
OT:
I have added text with rating after score save, peoples voting more, but this feature is for Highcore games only.
 
Report to moderator   Logged Logged  
 
  The administrator has disabled public write access.
#9262
bandlink (User)
User
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Re:text front of system rating 2 Months, 1 Week ago Karma: 0  
pragma wrote:
QUOTE:
Open puarcade.html.php. Search for "Write Rater", around line 112.

Put this at line 118, so it is between the two lines that start with script type=...:

Code:

Vote for this game:
It may show up on a different line, I'm not sure. Let us know how it goes.
Would it be possible to put all of this on the same line so it said: Vote for this game: ***** ?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9264
pragma (Admin)
Admin
Posts: 2409
graph
User Online Now Click here to see the profile of this user
Gender: Male Pragmatic Utopia PUArcade
Re:text front of system rating 2 Months, 1 Week ago Karma: 89  
bandlink wrote:
QUOTE:
pragma wrote:
QUOTE:
Open puarcade.html.php. Search for "Write Rater", around line 112.

Put this at line 118, so it is between the two lines that start with script type=...:

Code:

Vote for this game:
It may show up on a different line, I'm not sure. Let us know how it goes.
Would it be possible to put all of this on the same line so it said: Vote for this game: ***** ?
It is certainly possible. That might even be how the code above displays...I've never tried it. I'm waiting for someone to come back and tell me how it looks, then we can tweak it.
 
Report to moderator   Logged Logged  
 
Please DO NOT send support requests via PM or email. Instead, please post a question in the forums so everyone can benefit. Yes, this means you. No, your problem is not an exception.
  The administrator has disabled public write access.
#9265
bandlink (User)
User
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Re:text front of system rating 2 Months, 1 Week ago Karma: 0  
Well, it looks like:

Vote for this game:
*****
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9266
adonis (User)
User
Posts: 35
graphgraph
User Online Now Click here to see the profile of this user
Re:text front of system rating 2 Months, 1 Week ago Karma: 0  
that works when i put the text in front of the script but it's not on the same line with the rating system.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9424
bandlink (User)
User
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Re:text front of system rating 2 Months, 1 Week ago Karma: 0  
Any idea on how to get the text/stars on one line, Pragma?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#9791
ckayfish (User)
Newb Sauce
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Re:text front of system rating 1 Month, 3 Weeks ago Karma: 2  
I fixed this by changing the width of the rating class in my template css file. Since all of that script stuff fals within the div with this class, leaving it at 100 means there is no room for extra text. I'm using the Ocean template and increased the width from 180px to 200x

So, in file com_puarcade\templates\ocean\style.css, around line 272 in the .rating class I changed

Code:

width:100px;
to
Code:

width:180px;
You can change this to what ever you want to position this where you like on the top line. As well, in puarcade.html.php, I added the following code to the front of line 119:
Code:

<span style="float:left">Rate this Game:&nbsp;</span>
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/05 21:15 By ckayfish.
  The administrator has disabled public write access.
#9938
bandlink (User)
User
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Re:text front of system rating 1 Month, 3 Weeks ago Karma: 0  
Thanks, ckayfish.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

My Amazon.com Wish List