Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
How to use "Post Rating" plugin
Avatar
Marek Tettinger
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2012 - 1:43 pm

Hi, i use "Post Rating" plugin and everything is fine.
But i have question 🙂
Is there possibility to :
- show chart of user with top rated comments?
- show chart of top rated comments?
- highlighting of top rated comments (for example +5 and more...)
- anything else...

Thank you for any answer 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2012 - 4:07 pm

charts? no, we dont create any graphs or plots...

but there are a couple of template tags you can use:

sp_rating_highest_rated_posts_tag()

sp_rating_most_rated_posts_tag()

to display highest and most rated posts...

Avatar
Marek Tettinger
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2012 - 4:38 pm

Mr Papa said
charts? no, we dont create any graphs or plots...

but there are a couple of template tags you can use:

sp_rating_highest_rated_posts_tag()

sp_rating_most_rated_posts_tag()

to display highest and most rated posts...

Yes, that is what i mean.
Can you please wrote template how to make something like a "Hottest Forum Topics" on your forum?

 

And how to correct wrote this?:
<?sp_rating_most_rated_posts_tag(); ?>

Sorry, I looked in codex page, but without any progres 🙁

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2012 - 4:58 pm

the Hottest Topics like here has nothing to do with post ratings... Its all about which topics are getting the most new posts within a specified window... eh, a formula is used.. wink

but its in the template tags plugin... the tag is:

sp_HotTopicsTag();

or if you prefer, the shortcode is:

[sp_HotTopicsShortcode]

please see the template tags plugin library and the actual tag file for the arguments you can use to control the display until we get the codex fully up to snuff...

Avatar
Marek Tettinger
Member
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2012 - 5:15 pm

Mr Papa said
the Hottest Topics like here has nothing to do with post ratings... Its all about which topics are getting the most new posts within a specified window... eh, a formula is used.. wink

but its in the template tags plugin... the tag is:

sp_HotTopicsTag()

or if you prefer, the shortcode is:

[sp_HotTopicsShortcode]

please see the template tags plugin library and the actual tag file for the arguments you can use to control the display until we get the codex fully up to snuff...

Hi,

i saw template tag library, but i don't understand, how to write correct code in my web. I´m PHP "dummy" 🙁 Can you please write one example (with all the bracket), how to write Hot topic section?
Thank you!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 20, 2012 - 6:45 pm

well, I dont know where its being used, so can only guess...  I did tell you in post #4 how to use... but if its in an html segment, then it would be:

<?php sp_HotTopicsTag(); ?>

Avatar
Marek Tettinger
Member
Free Members
sp_UserOfflineSmall Offline
Apr 21, 2012 - 6:33 am

Mr Papa said
well, I dont know where its being used, so can only guess...  I did tell you in post #4 how to use... but if its in an html segment, then it would be:

<?php sp_HotTopicsTag(); ?>

I want to make "Hottest Forum Topics" section on same place like on your forum 🙂 Can you write full piece of code and place where i will put this code please?
Thank you!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 21, 2012 - 1:49 pm

again, I already did...

<?php sp_HotTopicsTag(); ?>

I cannot tell you where as you put it where you want it to display...

Avatar
Marek Tettinger
Member
Free Members
sp_UserOfflineSmall Offline
Apr 21, 2012 - 4:29 pm

Mr Papa said
again, I already did...

<?php sp_HotTopicsTag(); ?>

I cannot tell you where as you put it where you want it to display...

Sorry for my inaccurate (my english is not the best:)),

i would like same list like your "Hottest Forum Topics" on position where i have on my forum "Most Users Ever Online" and "Currently Online". This information (Most Users... ad Currently online) i would like put off and replace there with "Hottest Forum Topics".
Can you write what i should do?
Thank you.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 21, 2012 - 6:21 pm

not sure what you really want to do...  you want it under the current forum stats?  might look a bit odd there since so much width, but you can try...

you have to edit your sp theme and add in the call... be sure to make your own theme first: http://codex.simple-press.com/.....g-a-theme/

then in your sp theme, in the template files directory, edit the spFoot.php file...  after these lines:

        sp_AdminsList('tagClass=spLeft spAdministrators', 'Administrators: ');
    sp_SectionEnd('tagClass=spClear', 'stats');

add in this line:

sp_HotTopicsTag();
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626