Reputation system having troubles
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Reputation system having troubles
It seems that I'm worse at this than I thought. I run a small board for a roleplaying game that I host in my hometown, and my users have been asking for a way to add an in-forum equivalent to a Like or a +1. What I found was the reputation system created by Pico88. I installed it with AutoMOD and no errors were reported. I can get things to show up in prosilver, but in my board's native style (DarkFX) it does not show up at all.
It seems obvious that something isn't getting translated from prosilver to DarkFX, despite being based on the same style . I just cannot for the life of me figure out how to get things showing up from one to the other. A friend recommended this as a place that can get things done, so I was wondering if I can be pointed in the right direction for how to fix this?
Thanks in advance for any help! I included a bunch of information below; let me know if anything else is needed?
Site: http://www.souls-ne.com/forum
Style: https://www.phpbb.com/customise/db/style/darkfx/
It seems obvious that something isn't getting translated from prosilver to DarkFX, despite being based on the same style . I just cannot for the life of me figure out how to get things showing up from one to the other. A friend recommended this as a place that can get things done, so I was wondering if I can be pointed in the right direction for how to fix this?
Thanks in advance for any help! I included a bunch of information below; let me know if anything else is needed?
Site: http://www.souls-ne.com/forum
Style: https://www.phpbb.com/customise/db/style/darkfx/
Re: Reputation system having troubles
Open the install xml file from the mod in your browser and you will see all the edits that are needed...or if using automod click on the details link of the mod, scroll to the bottom of the page and apply prosilver to your style.
Re: Reputation system having troubles
Woot! That seemed to do... some... things. And it looks like they're good things--except these things, which were in red.
I'm not quite sure what to make of these things, as we've now exceeded the level of my smart and entered into the level of my dumb.
Code: Select all
styles/darkfx/imageset/imageset.cfg
Find
img_icon_user_warn = icon_user_warn.gif*20*20
Add After
img_icon_rate_good = icon_rate_good.gif*20*20
img_icon_rate_bad = icon_rate_bad.gif*20*20
The Find specified by the MOD could not be found
Code: Select all
styles/darkfx/template/index_body.html
Find
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>
Add After
<!-- ENDIF -->
<!-- IF RS_TOPLIST -->
<h3>{L_RS_TOPLIST}</h3>
<p>{L_RS_TOPLIST_EXPLAIN}: <strong>{RS_TOPLIST}</strong></p>
The Find specified by the MOD could not be found
Code: Select all
styles/darkfx/template/viewtopic_body.html
Find
<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->">
In-Line Find
<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->
The In-Line Find specified by the MOD could not be found. The Find specified by the MOD could not be found
Code: Select all
styles/darkfx/template/viewtopic_body.html
Find
<dl class="postprofile" id="profile{postrow.POST_ID}">
Replace With
<dl class="postprofile" id="profile{postrow.POSTER_ID}">
The Find specified by the MOD could not be found
Re: Reputation system having troubles
Send me those 4 files, you can upload them to a download server: eg zippyshare
Re: Reputation system having troubles
I sent the dropbox link via PM. Thank you very much for looking into this and helping out, Peralta. You rock.
Re: Reputation system having troubles
Tested and works for me!
if anyone needs...
Open: styles/darkfx/imageset/imageset.cfg
Purge cache.
Now this is very important, if your message view (viewtopic_body) misses the icons, it looks like this:
{RS_ADD_POINTS}
0
{RS_SUBTRACT_POINTS}
That's why you have to add manually from ACP-> Styles-> Imagesets-> Edit and look for "Rate good" and "bad Rate".
The following is enabled on your MOD ACP settings, set the permissions of forums and user groups.
See the https://github.com/Pico/phpBB-Reputatio ... m/wiki/FAQ, for more questions.
if anyone needs...
Open: styles/darkfx/imageset/imageset.cfg
add at the end Add these lines on a new blank line after the preceding line(s) to find
Open: styles/darkfx/template/index_body.html
Code: Select all
img_icon_rate_good = icon_rate_good.gif*20*20
img_icon_rate_bad = icon_rate_bad.gif*20*20
Find This may be a partial find and not the whole line
Code: Select all
<!-- IF NEWEST_USER -->
<div class="forum-container">
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_STATISTICS}</dt>
</dl>
</li>
</ul>
<ul class="topiclist stat-info">
<li>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</li>
</ul>
</div>
<!-- ENDIF -->
Add after Add these lines on a new blank line after the preceding line(s) to find
Open: styles/darkfx/template/viewtopic_body.html
Code: Select all
<!-- IF RS_TOPLIST -->
<div class="forum-container">
<ul class="topiclist">
<li class="header">
<dl class="icon">
<dt>{L_RS_TOPLIST}</dt>
</dl>
</li>
</ul>
<ul class="topiclist stat-info">
<li>{L_RS_TOPLIST_EXPLAIN}: <strong>{RS_TOPLIST}</strong></li>
</ul>
</div>
<!-- ENDIF -->
Find This may be a partial find and not the whole line
Code: Select all
<ul class="post-row<!-- IF postrow.S_POST_REPORTED -->-reported<!-- ENDIF -->">
Add after Add these lines on a new blank line after the preceding line(s) to find
Code: Select all
<ul class="post-row<<!-- IF S_REPUTATION --><!-- IF postrow.S_RS_POST_HIGHLIGHT --> highlight<!-- ENDIF --><!-- IF postrow.S_RS_HIDE_POST --> hidden<!-- ENDIF --><!-- ENDIF -->">
Find This may be a partial find and not the whole line
Code: Select all
<dl class="postprofile<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->" id="profile{postrow.POS_ID}">
Replace with Replace the preceding lines with the following
Go to ACP and refresh your style: imageset, theme and template. Code: Select all
<dl class="postprofile<!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->" id="profile{postrow.POSTER_ID}">
Purge cache.
Now this is very important, if your message view (viewtopic_body) misses the icons, it looks like this:
{RS_ADD_POINTS}
0
{RS_SUBTRACT_POINTS}
That's why you have to add manually from ACP-> Styles-> Imagesets-> Edit and look for "Rate good" and "bad Rate".
The following is enabled on your MOD ACP settings, set the permissions of forums and user groups.
See the https://github.com/Pico/phpBB-Reputatio ... m/wiki/FAQ, for more questions.
Re: Reputation system having troubles
Peralta, I sent a PM to you, but I'll post my actions here for anyone else who may be dealing with the same thing.
I made backup copies of each file (changing their extension on my webhost to .bak) and replaced them with new versions of file, with the above-noted edits.
Once the new files were in place, the style was refreshed in theme, template, and imageset as instructed.
I cleared my browser cache and loaded the forum.
Nothing related to the reputation system appeared in posts on the DarkFX style, but the reputation system continued to function as intended on the prosilver style.
I made backup copies of each file (changing their extension on my webhost to .bak) and replaced them with new versions of file, with the above-noted edits.
Once the new files were in place, the style was refreshed in theme, template, and imageset as instructed.
I cleared my browser cache and loaded the forum.
Nothing related to the reputation system appeared in posts on the DarkFX style, but the reputation system continued to function as intended on the prosilver style.
Re: Reputation system having troubles
Hi, have you checked that the mod is activated from acp, assigned user permissions and forums, you have manually verified that rating icons appear in the imageset your style?
Please, read the instructions again to possible problems in the FAQ
Please, read the instructions again to possible problems in the FAQ
Re: Reputation system having troubles
Done and done; I've checked over the FAQ and followed their steps, but I'm still not seeing things show up. It's activated and functioning with prosilver, the icons and data are present for DarkFX. Still, no dice. I'm not sure what I've done wrong. :\
Re: Reputation system having troubles
Hi, I'm in your forum, i sent you a PM
Re: Reputation system having troubles
Gotcha. Made the change to your permissions.
Re: Reputation system having troubles
I've manually re-added the images that are in the imageset--and they show up just fine in ACP, but I'm still getting
{RS_ADD_POINTS}
0
{RS_SUBTRACT_POINTS}
Do I need to change the file path in the Template view_body.html?
{RS_ADD_POINTS}
0
{RS_SUBTRACT_POINTS}
Do I need to change the file path in the Template view_body.html?
Re: Reputation system having troubles
Mad, mad props to Peralta here. Peralta is a super hero.
Thank you SO MUCH for all of your time and help. My forum users love it, I love it, this is just absolutely great. Thank you!
Thank you SO MUCH for all of your time and help. My forum users love it, I love it, this is just absolutely great. Thank you!
-
- New member
- Posts: 2
- Joined: 23 Oct 2014, 12:24
Re: Reputation system having troubles
I'm also having the same problem. Everything has been installed correctly w/o errors via AutoMod, the edits have been made but the icons aren't showing. The style for me however is different, despite them not showing on the default prosilver either. Eveything else is working, such as the Rate User, Top List and Value Counter. Just not the images to rate good and bad. Any ideas?
Re: Reputation system having troubles
Provide forum link or if you prefer your default style, I will test on localhost.