![]() |
Pig's configurable rep gems
A port to 3.5.x of this hack.
Description
Installing this extension adds:
Installation
Usage (Refer to the screenshots) After installation reputations will appear as normal. Refresh your Admin CP and you'll find a new link in the 'User Reputations' section of the navigation frame labelled 'Manage Reputation Images'. (see screen1.png) Use the upper form to change the settings for each reputation image and the lower form to add new images.
Screenshots
|
Interesting
|
very...
/me look at the install button... to minimalise the change of 1 query, wouldn't it be good to store the data in the cache?? |
Quote:
|
Quote:
|
Very nice, Installed and works perfect.
|
Ok, when I read a PM, I get this error at the top of my page,
Quote:
|
Quote:
I omitted to include 'private' as one of the scripts that this hack applies to. |
Ok there seems to be another problem with this mod. Very strange one at that.
When I use quick reply on any post, I now get the transistion page saying, Quote:
I know its your mod because when I uninstall your mod, that problem goes away, reinstall mod, problem comes back. Not on full Reply, Only on Quick reply. |
Quote:
|
This is frustrating. Cant figure out why your mod does this.
|
Quote:
|
Well if I turn off Reputation gem levels - fetch_reputation_image() then i can quick reply. If I turn off the other one, I get all kinds of crazy errors. Not sure if this helps.
|
Alright, I figured out how to fix this.
Change this Quote:
Quote:
|
Quote:
|
Few more things. I noticed when you edit a post using the ajax editing, when you save all the rep images disappear. So you need to add editpost in your array also.
Quote:
If you change what I posted right above with this it will be faster, Quote:
|
Quote:
|
Hate to burst your bubble again, lol error message on annoucements,
Need to add one more, Quote:
|
Quote:
|
can I use this hack with the extended reputation hack?
|
I'm using this hack along with vBSupport System v1.1:
https://vborg.vbsupport.ru/showthread.php?t=94023 When I open a support ticket, I'm getting the same error another user was getting: Quote:
Edit: I'll try adding "OR (THIS_SCRIPT == 'vBSupport')" Edit again: It was actually "support" not "vBSupport". However, this fixed it. |
I'm actually looking for how to change the code so each level uses a different image, instead of adding all the images inline.
For example, level three uses "reputation_lev3pos.gif" instead of "reputation_lev1pos.gif reputation_lev2pos.gif reputation_lev3pos.gif" Could you tell me what code to modify to accomplish this? (I might figure it out before you respond. If I do, I'll post my modification.) Thanks. |
To accomplish this, open the .xml file and find the line:
foreach($vbulletin->repsettings AS $replevel) { At the end of this foreach statement, you'll find this line: eval('$post[\'reputationdisplay\'] .= "' . fetch_template('postbit_pig_reputation') . '";'); Change this line to: eval('$post[\'reputationdisplay\'] = "' . fetch_template('postbit_pig_reputation') . '";'); This will modify this hack to use individual images instead of multiple images. |
This is what came up when importing the product...
Database error in vBulletin 3.5.4: Invalid SQL: INSERT INTO repgemlevel (minimum, template, suffix) VALUES (1, 0, ''); MySQL Error : Unknown column 'template' in 'field list' Error Number : 1054 Date : Saturday, March 11th 2006 @ 05:29:46 PM |
If you have Photopost vBGallery:
Error: -- showimage.php If you look @ a image the page will go white and only pass <body></body> tags. Fix Add: Code:
(THIS_SCRIPT == 'showimage') OR |
damn. i need this for 3.6!!!
any1 can help? |
It works for me on 3.6...
|
Quote:
|
Speak for yourself :)
|
Also get a Warning:
Code:
Invalid argument supplied for foreach() in /includes/functions_reputation.php(139) : eval()'d code on line 14 |
^ Replace the following into the plugin code Product : Pig's configurable rep gems: Reputation gem levels - cache levels and it will fix the usernote problem. This will also fix the Rep disapearing problem in 3.6. :D After this modification It's now working fine in 3.6 :D
Replace Code:
(THIS_SCRIPT == 'announcement') Code:
(THIS_SCRIPT == 'announcement') OR (THIS_SCRIPT == 'usernote') OR (THIS_SCRIPT == 'reputation') |
I can't see the download file ;s ? These two files are only gem pic and screenshots .
NVM fixed =) |
The menu isn't showing up in the ACP... :(
|
? where is it?
|
yeah the menu isn't showing up in 3.6.8
|
Quote:
* Download product.zip and unpack it. * Upload the files in the upload directory: o admincp/repgems.php o includes/xml/cpnav_pig_rep_gems.xml * Install the product by importing the product-pig_rep_gems.xml file into the product manager in Admin CP yes i cant find those files too |
All times are GMT. The time now is 01:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|