News:

Wondering if this will always be free?  See why free is better.

Main Menu

Topic Ratings

Started by Oldiesmann, January 20, 2005, 01:59:43 PM

Previous topic - Next topic

clemenzo

Quote from: rockinaway on January 05, 2007, 03:26:36 PM
I get this error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in .../Themes/SoftMC_Blue/Display.template.php on line 401


<option value="', $i, '" ', $context['can_rate'] ']== $i ? 'selected="selected"' : '', '','>', $i, '</option>';

That's the line, looks wierd on Dreamweaver too...

Install with default SMF core theme. You need make changes manually for other themes.

rockinaway

I did,. that is the error I get upon doing it in my custom theme...
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

clemenzo

It would not work with custom theme. You need to edit the custom theme files manually and upload to overwrite.

teamvtec

I was wondering what do i need to change to display the rating stars on the thread index to show if the thread is rated?

See attachement below


rockinaway

Quote from: clemenzo on January 08, 2007, 09:10:18 AM
It would not work with custom theme. You need to edit the custom theme files manually and upload to overwrite.

Yes I am not stupid, been using SMF a long time o know that ;) Have already done that, that occurs when I edit my custom theme.. I think I said that already!
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

clemenzo

It's a syntax error on your part. Deploy your debugging skills then.

Xarcell

I found a error(bug) in the templating. If you enable to show user's viewing the board via "admin > current theme" then it causes a colspan problem. It does not expand all the way. To fix:

Open file: "SMF Root > Themes > your theme or default > MessageIndex.template.php"

Find (around 193):
<td colspan="' , !empty($options['display_quick_mod']) ? '8' : '7' , '"><small>';
if ($settings['display_who_viewing'] == 1)


Replace With:
<td colspan="' , !empty($options['display_quick_mod']) ? '9' : '8' , '"><small>';
if ($settings['display_who_viewing'] == 1)


If you have other mod's that have created another tablecell, you may need to increase "9" and "8" numbers within the snippet.

rockinaway

Quote from: clemenzo on January 08, 2007, 10:11:33 PM
It's a syntax error on your part. Deploy your debugging skills then.

I don't think so... it was all done as said in install script :P
Have I helped you? Then please join AdminFuel - The forum for forum administrators.

If you need help managing your forum, or maybe launching it, then visit us and view the quality articles, downloads and posts.

clemenzo

Quote from: rockinaway on January 10, 2007, 03:24:41 PM
Quote from: clemenzo on January 08, 2007, 10:11:33 PM
It's a syntax error on your part. Deploy your debugging skills then.

I don't think so... it was all done as said in install script :P

Are you able to see and use the mod in the default theme? I thought you modified the custom theme files manually? Where did the install script message come from then?

teamvtec

Well i'll post my question again since nobody took the time to reply to it: :-\



I was wondering what do i need to change to display the rating stars on the thread index to show if the thread is rated?

See attachement below

clemenzo

You'll need to modify the changes done by the mod.. Move the rating stars out of the column between the <td> and </td> tags and place it between the <span align="right"> and </span> tags in the topic title column after the topic page list.

Doing that, the mod uninstall would not work anymore.

Diamond Playboy

Does this script sort the topics based on the rating they received? I thought it did, but it doesn't seem to be doing that...did I miss a setting maybe? Also, how do I get this script to only allow one vote per session?

thanks!


clemenzo

I haven't had time to play with it. You shall try and you'll find out.

t323tgdh

Sorry for bumping but is there a way to install it for 1.1 RC3? I'm still running 1.1 RC3 (Can't upgrade, I've got self-made php edits) and it says that older versions no longer supported on the download page...

clemenzo

Did you try the latest 1.0.8 mod? There has been mod file for 1.1RC3 all along and should work unless the files to be modified has your self-made edits and are hindering the installation.

You can try unzipping the mod opening the mod file for 1.1RC3 to add the changes manually.

sparky33

I need to uninstall this mod manually but there doesn't seem to be any mod files?
www.dublinforums.org

www.renaultforums.co

sparky33

It's ok I sussed it, opened the mpeg file with dreamweaver
www.dublinforums.org

www.renaultforums.co

Photoshocker

Hi does anyone know what modification has to be done to work with  Αa New damage theme?

sparky33

Youll find all the mod instructions if you unzip the package.
www.dublinforums.org

www.renaultforums.co

wengwashere

i think its not compatible to R3 anymore :(

Advertisement: