Welcome, Guest. Please Login or Register.
May 02, 2024, 08:00:33 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Graphics and Templates  |  Thumbs Up/Down image for Karma?? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Thumbs Up/Down image for Karma??  (Read 6737 times)
Mr Hister
Noobie
*
Posts: 22


Guess why I've got a smile on my face.

WWW
Thumbs Up/Down image for Karma??
« on: December 08, 2003, 08:37:50 AM »
Reply with quote

Rather then use [smite] and [applaude] for the Karma ratings I wanted to use the thumbsup and thumbsdown images. I tried to add a url in the mod section but it only gave me the text link for the image. Is there anyway that I can do this?

Also, is there a way to change the New Post/No New Post image for each board? I know how to change the image but I wanted a different icon for each board. Similar to this http://www.babylonking.net/forum/index.php

(Bab-King you rock BTW!!!)

Thanx!!  ;D
Logged

Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Thumbs Up/Down image for Karma??
« Reply #1 on: December 08, 2003, 08:52:53 PM »
Reply with quote

Quote from: Mr Hister on December 08, 2003, 08:37:50 AM
Rather then use [smite] and [applaude] for the Karma ratings I wanted to use the thumbsup and thumbsdown images. I tried to add a url in the mod section but it only gave me the text link for the image. Is there anyway that I can do this?

Search Load.php for:

$modSettings[karmaApplaudLabel]

Replace with:

<img src=\"http://yourforum/YaBBImages/thumbup.gif\" width=\"15\" height=\"15\" border=\"0\" alt=\"Applaud\" />

Likewise, search Load.php for:

$modSettings[karmaSmiteLabel]

And replace with:

<img src=\"http://yourforum/YaBBImages/thumbdown.gif\" width=\"15\" height=\"15\" border=\"0\" alt=\"Smite\" />
« Last Edit: December 08, 2003, 08:55:16 PM by Peter Duggan » Logged

Mr Hister
Noobie
*
Posts: 22


Guess why I've got a smile on my face.

WWW
Re:Thumbs Up/Down image for Karma??
« Reply #2 on: December 08, 2003, 09:23:45 PM »
Reply with quote

Whoa! I did that and I just got this...

Parse error: parse error in /home/virtual/site132/fst/var/www/html/yabbse/Sources/Load.php on line 408

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/virtual/site132/fst/var/www/html/yabbse/Sources/Load.php:408) in /home/virtual/site132/fst/var/www/html/yabbse/index.php on line 78

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/virtual/site132/fst/var/www/html/yabbse/Sources/Load.php:408) in /home/virtual/site132/fst/var/www/html/yabbse/index.php on line 78

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site132/fst/var/www/html/yabbse/Sources/Load.php:408) in /home/virtual/site132/fst/var/www/html/yabbse/Sources/Subs.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site132/fst/var/www/html/yabbse/Sources/Load.php:408) in /home/virtual/site132/fst/var/www/html/yabbse/Sources/Subs.php on line 153
Logged

Mr Hister
Noobie
*
Posts: 22


Guess why I've got a smile on my face.

WWW
Re:Thumbs Up/Down image for Karma??
« Reply #3 on: December 08, 2003, 09:39:02 PM »
Reply with quote

Ok. I fixed the error and I got the thumbs....however...the word "Array" appears next to each thumb.

Here is what I did...

$modSettings <img src=\"http://www.autvonline.com/yabbse/YaBBImages/thumbup.gif\" width=\"15\" height=\"15\" border=\"0\" alt=\"Applaud\" /></a> <a

href=\"$scripturl?action=modifykarma;karmaAction=smite;uid={$userprofile[$user]['ID_MEMBER']}\">$modSettings <img

src=\"http://www.autvonline.com/yabbse/YaBBImages/thumbdown.gif\" width=\"15\" height=\"15\" border=\"0\" alt=\"Smite\" /></a>

I'm still tinkering with it but if you've got some insight.... ;D
Logged

Mr Hister
Noobie
*
Posts: 22


Guess why I've got a smile on my face.

WWW
Re:Thumbs Up/Down image for Karma??
« Reply #4 on: December 08, 2003, 09:50:51 PM »
Reply with quote

Ok. I fixed it. Oh what a differance a 'space' can make. That's all I forgot. I didn't put the space in the right place. Dum Dum Dum.

But now after looking at it I'm not sure if I like how it looks. :-\

Thanx for pointing me in the right direction. I do ok with the code but I can never find the right php file to change!  ;D

Thanx again for your help!!!
Logged

Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Thumbs Up/Down image for Karma??
« Reply #5 on: December 08, 2003, 10:09:37 PM »
Reply with quote

Quote from: Mr Hister on December 08, 2003, 09:39:02 PM
I'm still tinkering with it but if you've got some insight.... ;D

You weren't supposed to leave '$modSettings' in at all!
Logged

Mr Hister
Noobie
*
Posts: 22


Guess why I've got a smile on my face.

WWW
Re:Thumbs Up/Down image for Karma??
« Reply #6 on: December 08, 2003, 11:45:23 PM »
Reply with quote

What I did wrong was not leaving a space. Damn spaces.
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Thumbs Up/Down image for Karma?? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.080 seconds with 20 queries.