![]() |
RPG Inferno 2.4 Addon: RPG Info in postbit
This is a modification for RPG Inferno v2.4
This presents the users RPG Info in their postbit in a dhtml dropdown box. A version similar to this was released by Zero Tolerance, with his permission I'm releasing this one as he's busy working on the new Inferno version :D Okay, this is in the format that I originally did. ZT's was much nicer and I may try to work out a combination of the two later but for now, this will do :) If you have an rpg avatar it'll display that, if not it'll grab your job's image. Also, all the words are controlled through phrases. The money phrase in the plugin default is "Gil" though in the screenshots here it'll be "Spam Coins". If you want to change it from Gil to something else, just go to your Languages & Phrases -> Search in Phrases -> Search for Text: inferno_postbit_gil Search in: Phrase Variable Name only Click Find Click Edit Type the name of your money in the box and click save. Again, when this plugin is installed it will be "Gil". Things to do: Upload 1 xml Edit 1 template Enjoy! (Optional, edit one phrase if your money is named something other then "Gil") Version 1.1.0 does not work in PMs so it has If statements so it doesn't even display the box (broken links annoy me). There is an addon released in https://vborg.vbsupport.ru/showpost.php?p=757324&postcount=18]THIS POST[/url] that enables it to work in PMs however, currently that requires a file edit so it is not in the main version. Screenshots included :) New Version 1.1.0 to fix error when reputation system is enabled and bar images. To upgrade follow the instructions in the zip. You ONLY have to do the file edit if you use the reputation system. UPDATE 8-16-05 Fixed dhtml in PMs however as it requires a file edit I've released it in this post https://vborg.vbsupport.ru/showpost....4&postcount=18 And not with the full hack as I'm hoping to avoid file edits whereever I can. This way people who donot wish to do the file edit can install the normal version and those that want it to appear in PMs can do the addon after installing the normal version. UPDATE 10/03/05 Altered layout to avoid confusion with other rpg mods. PLEASE CLICK |
MySQL Error : Column: 'level' in field list is ambiguous
|
Hmm, didn't think I had messed with that from the reputation thing.
Let me double check this real fast with a fresh file. |
Just what i was looking for.
The only problem i have is my bars (colours) are not showing up. |
Bar one I can fix.
Bug found with those that have the reputations turned on. Search for a fix on it then I'll post up both. |
good deal :)
thats all it is till then i will just turn off the rep system :) i care less about that anyway but yeah when u find the fix post that one but same thing with the colored bars happens once i turn the rep off |
Both fixed, see above :)
Question to the moderators... would this need to be classified as a code modification due to it needing a file edit to work with those using the reputation system? |
um...stupid question...
but the inferno forums say RPG Inferno v2.4 is only good for vb up to 3.0.7. yet, your mod is for RC2. :/ :ermm: so.... we need to have RPG installed first to use this right? (but can't cause its not compatible). Am I missing something? :confused: |
works great thanks.. now since your the coder of the hack i think i should ask you
before i try taking it apart. 1. when you hover the link to see the profile on my board its kinda just the I <--- looking cursor how can i change that if i hover other links it shows the hand. 2. instead of showing members avatars how can i det rid of that and either show nothing or the job icon. because if the avatar is to big it makes it look crappy. |
Quote:
And the hack works great,thank you |
Quote:
you have to purchase it i believe the older versions are free |
As they mention there is a v2.4 for vbulletin 3.5. He didn't change anything between the two versions other then making the variables compatabile and moving file edits to hooks etc.
Vizionz - 1) Not sure what you mean, what exactly do you have the mouse resting on that your looking for hover text on? 2) to change this so that only the job image appears and not the avatar go to Admincp -> Plugin System -> Plugin Manager -> Scroll down to "Postbit build info for RPG Inferno" and click edit. In the code there find this - Code:
if($post['avatar'] == ''){ Code:
$rpgavatar = "Inferno/jobs/$post[jimg]"; That will change it so that it only shows the job image and never shows a user's rpg avatar. |
thanks ya know when you hover plain text how the cursor changhes to like a I shape. thats how it looks whenever i hover the view rpg stats link.. but if i click it will open it..
but like any other link on the board it will show a little pointer hand icon...as the curser.. does this call some cursor that i might not have in my style |
It sure doesn't... hmm maybe it doesn't define a cursor at all and should.
Never noticed that in the year or two I've had this code up LOL! I'll peek at some other code, and see if I can find how/where it might define that. |
Quote:
the very top of the inferno web site says: Quote:
I don't mind paying...but certainly don't want to pay for a version that isn't compatible with RC. :ermm: :surprised: |
Hmm he must have typoed.
It only works with RC and up as it uses the "Product Manager" which didn't exist in the beta stages. Once you own a license you go to http://rpginferno.net and click on members download, it's right there. Any questions about rpg inferno though really should be directed to here - http://www.gzevolution.net/forums/forumdisplay.php?f=75 Then Zero Tolerance and Decado will be able to directly answer your questions instead of getting answers second hand from us ;) |
yeah thats the best way to get your questions answered, but i am running the latest version of vb and so is cyricx and it works perfectly so yeah your all good if you purchase
Note: able to find out about the hovering the link ? |
Ahha! Fixed in PMs, however it requires a file edit to do so I've posted a request for a new hook location.
/me crosses his fingers... In the meantime, attached is the addon. I won't be releasing it with the full hack as it requires a file edit and I'm hoping to avoid this at whatever cost I can heh. |
whats that mean in pm ? so like when someone battles you when you get that pm it will have there stats in that window ? or all pm windows
|
PMs is private messages.
When you view private messages from people on the boards with version 1.1.0 it doesn't show their rpg stats at all. With the addon it will, when you receive ANY pm but ONLY if they have an rpg inferno character. If they donot have a character nothing will be displayed. |
oh okay that will work :) now if someone could make this plugin system aytomatically do the file edits we would be all good :P since i use multi styles
|
The fix for if you use the reputation system will always require an edit :(
But the PM fix could be done without an edit if the vb devs add the hooks in like they have in the showthread_query location. I'm crossing my fingers they do as there is alot I'd love to do in PMs, specifically wanting to avoid adding queries :) |
Zero has obviously not updated the site :p
Satan |
probably a little buzy doing all these hacks of the month and a new inferno :)
|
I dont know if its me but im still getting the same database error after doing the showthread edit:
Database error in vBulletin 3.5.0: Invalid SQL: SELECT post.*, post.username AS postusername, post.ipaddress AS ip, IF(post.visible = 2, 1, 0) AS isdeleted, user.*, userfield.*, usertextfield.*, icon.title as icontitle, icon.iconpath, avatar.avatarpath, NOT ISNULL(customavatar.filedata) AS hascustomavatar, customavatar.dateline AS avatardateline, level, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason, editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline, editlog.reason AS edit_reason, post_parsed.pagetext_html, post_parsed.hasimages, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid ,inferno_user.*, inferno_jobs.*, inferno_element.*, inferno_clan.*, journals.journaldesc, journals.journal_id FROM post AS post LEFT JOIN user AS user ON(user.userid = post.userid) LEFT JOIN userfield AS userfield ON(userfield.userid = user.userid) LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid = user.userid) LEFT JOIN icon AS icon ON(icon.iconid = post.iconid) LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid) LEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid = reputationlevel.reputationlevelid) LEFT JOIN deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post') LEFT JOIN editlog AS editlog ON(editlog.postid = post.postid) LEFT JOIN post_parsed AS post_parsed ON(post_parsed.postid = post.postid AND post_parsed.styleid_code = -1 AND post_parsed.styleid_html = -1 AND post_parsed.styleid_php = -1 AND post_parsed.styleid_quote = -1) LEFT JOIN inferno_user AS inferno_user ON(inferno_user.rid = user.userid) LEFT JOIN inferno_jobs AS inferno_jobs ON(inferno_jobs.jname = inferno_user.class) LEFT JOIN inferno_element AS inferno_element ON(inferno_element.eid = inferno_user.element) LEFT JOIN inferno_clan AS inferno_clan ON(inferno_clan.cid = inferno_user.inclan) LEFT JOIN journals AS journals ON (journals.journalist_id=post.userid) WHERE post.postid IN (78144,78462,78464,78466,78556); MySQL Error : Column: 'level' in field list is ambiguous Error Number : 1052 Date : Friday, September 30th 2005 @ 12:48:57 PM Script : http://www.dancehallareaz.com/forum/...=hybrid&t=4076 Referrer : IP Address : 24.37.191.104 Username : MissKalunji Classname : vb_database |
I'll retest the edit on 3.5 gold.
It appears you entered it in correctly. I've also updated this version to 1.2 changing the layout of the dhtml to avoid confusion with other RPG mods. |
let me know when its 3.50 capable
|
Quote:
|
Same errors like MissKalunji got on 3.5 gold on my forums
|
Quote:
i was starting to feel lonely :p |
If you use the reputation system then do this part of the instruction file
Code:
If you use the reputation system in /showthread.php Are you not doing that edit? |
i done it and it doesnt work
|
and it happens many time with people that uses the hybrid display mode
|
okay, duplicated the error, I'll get to work on this and locate a solution
|
Quote:
Quote:
|
i figured out the problem
Quote:
and i thought there was only one its today when i oppened and checked notice that line appeared twice switched it and it works now! only thing is in the other mode i cant seem to show the stat when i go on rpg stats.... |
Doh! Your right!! In $posts and $cacheposts!!
which mode are you having problems with? just hybrid? By replacing that twice I've elminated the bug from my board. It works in all three modes with no errors. What bug are you still experiencing? |
Quote:
i hope i put an end to your headache :P |
can you show me a screenie? or a url to your board?
You helped a ton :), but I want to squash all em darn buggies! |
Quote:
username : Cyricx password : testing then choose display mode threaded :) |
All times are GMT. The time now is 04:49 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:
|