Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Forum Useful Post Ratings

Asked Modified Viewed 11,287 times
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
  • Started this discussions
asked
Veteran Member

[mp]340[/mp]
0 replies

11 posts

M
MattMadsen
M
Facebook site
https://www.facebook.com/Detherersjovt
The funniest facebook page in the world
  • Member, joined since
  • Contributed 63 posts on the community forums.
  • Started 15 threads in the forums
answered
Member

Nice. Great Job. :) Keep it on.
0 replies
B
behrooz
B
  • Member, joined since
  • Contributed 122 posts on the community forums.
  • Started 29 threads in the forums
answered
Member

very nice , thanks
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

That reminds me I need to use output replacement for Ajax Forum Post ratings next version.

I better get started. :)
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
  • Started this discussions
answered
Veteran Member

Quote

Craig wrote:

That reminds me I need to use output replacement for Ajax Forum Post ratings next version.

I better get started. :)


Good :)

But I am still confused to do it in that way people are asking... in the Bottom/Footer of the Post... :o
0 replies
J
jikaka
J
jikaka 10
www.rusfusion.ru - russian nss
  • Veteran Member, joined since
  • Contributed 946 posts on the community forums.
  • Started 82 threads in the forums
answered
Veteran Member

very very very good work!
;)
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
  • Started this discussions
answered
Veteran Member

Quote

jikaka wrote:

very very very good work!
;)


Thanks to you... :D
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Quote

Ankur wrote:

Quote

Craig wrote:

That reminds me I need to use output replacement for Ajax Forum Post ratings next version.

I better get started. :)


Good :)

But I am still confused to do it in that way people are asking... in the Bottom/Footer of the Post... :o



replace_in_output("<!--sub_forum_post-->", "<!--sub_forum_post-->\n".$lolz);
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
  • Started this discussions
answered
Veteran Member

Quote

Craig wrote:

replace_in_output("<!--sub_forum_post-->", "<!--sub_forum_post-->\n".$lolz);


In this Infusion, I am replacing the Line which contains the Post ID, i.e,
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]echo "<a href='#post_".$data['post_id']."' name='post_".$data['post_id']."' id='post_".$data['post_id']."'>";[/syntaxhighlighter]
And I am doing this for All Posts for a particular Thread by evaluating them one by one.

But don't know How to Replace Each of the <!--sub_forum_post--> one by one for different Post ID's... :(

I am Stuck... :@
0 replies
— 1 year later —
C
clone9cz
C
www.vwings.net
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 2 threads in the forums
answered
Newbie

Forum Useful Post Ratings v 1.0 using SMALLINT only.
[syntaxhighlighter brush=php,first-line=1,highlight=3,collapse=false,html-script=false]$inf_newtable[1] = DB_FORUM_USEFUL_RATINGS." (
rating_id SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
post_id SMALLINT(5) UNSIGNED NOT NULL,
user_id SMALLINT(5) UNSIGNED NOT NULL,
rating_value TINYINT(1) UNSIGNED NOT NULL,
PRIMARY KEY (rating_id)
) ENGINE=MyISAM;";[/syntaxhighlighter]

SMALLINT does not match the Fusion v7.02.05
[syntaxhighlighter brush=sql,first-line=1,highlight=4,collapse=false,html-script=false]CREATE TABLE IF NOT EXISTS fusion2013_posts (
forum_id mediumint(8) unsigned NOT NULL DEFAULT '0',
thread_id mediumint(8) unsigned NOT NULL DEFAULT '0',
post_id mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
post_message text NOT NULL,
post_showsig tinyint(1) unsigned NOT NULL DEFAULT '0',
post_smileys tinyint(1) unsigned NOT NULL DEFAULT '1',
post_author mediumint(8) unsigned NOT NULL DEFAULT '0',
post_datestamp int(10) unsigned NOT NULL DEFAULT '0',
post_ip varchar(45) NOT NULL DEFAULT '',
post_ip_type tinyint(1) unsigned NOT NULL DEFAULT '4',
post_edituser mediumint(8) unsigned NOT NULL DEFAULT '0',
post_edittime int(10) unsigned NOT NULL DEFAULT '0',
post_editreason text NOT NULL,
post_hidden tinyint(1) unsigned NOT NULL DEFAULT '0',
post_locked tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (post_id),
KEY thread_id (thread_id),
KEY post_datestamp (post_datestamp)
) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=1 ;[/syntaxhighlighter]


Temporary fix Temporary fix Temporary fix
\infusions\forum_useful_post_rating_panel\infusion.php
[syntaxhighlighter brush=php,first-line=1,highlight=3,collapse=false,html-script=false]$inf_newtable[1] = DB_FORUM_USEFUL_RATINGS." (
rating_id SMALLINT(5) UNSIGNED NOT NULL AUTO_INCREMENT,
post_id MEDIUMINT(8) UNSIGNED NOT NULL,
user_id SMALLINT(5) UNSIGNED NOT NULL,
rating_value TINYINT(1) UNSIGNED NOT NULL,
PRIMARY KEY (rating_id)
) ENGINE=MyISAM;";[/syntaxhighlighter]
Edited by clone9cz on 23-01-2013 01:25,
0 replies
C
clone9cz
C
www.vwings.net
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 2 threads in the forums
answered
Newbie

Features are not clear

[syntaxhighlighter brush=plain,first-line=1,highlight=5,collapse=false,html-script=false]Features:-
- Easy Installation
- No Core Files Editing
- Disable/Enable anytime from Admin Page
- Shows Top 10 Helpful Posters in Admin Page[/syntaxhighlighter]
It shows something in Admin Page

I was changed Helpful post 1:0 to unhelpfull 0:1 by thumb down.
Statistics - Top 10 Forum Helpers still shows Helpful posts = 1 and Post URL to unhelpful forum post in table
0 replies
— 1 year later —
M
mrijkhals
M
  • Junior Member, joined since
  • Contributed 12 posts on the community forums.
  • Started 3 threads in the forums
answered
Junior Member

Nice one BUT...if people choose the thumb down,...... in admin it counts one up.
Why not a database table with a plus and minus rating so that the admin can see the usefull posts and the less usefull posts....?
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 7 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet