![]() |
what agreat modification ,,
thank you my dear ,, Installed just add Code:
direction:rtl; and it works fine.. |
Quote:
|
I feel like a goofball for posting this, but I'm not familiar with all of the variables.. if anyone could help, I could appreciate it.
I'm trying to post certain usergroups, basically staff, in this postbit_legacy. Could anyone help me set up an if condition (I guess that's what it would be), to do so? What I mean is, if a user is a moderator, admin, or part of a special group, their group displays in their postbit_legacy along with the other information I already have in there. Thanks! |
Quote:
Code:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> |
Hello.... First of all.. thanks for the fantastic mod. If I get it all sorted out it is going to be a HUGE help to me and my members.
I am not a coder, I am 100% hack... I try to add to my coding knowledge as I run into issues hacking..... I need a little bit of general information that should allow me to get this sorted out... if anyone is willing... I have NUMEROUS additions and modifications to my board, so my postbit is huge, which is why I need this hack. The issue I am having, however, is that a large number of the mods use the template hook[postbit_userinfo_right_after_posts], so even if I move the entire hook to a tab, it is too much. That is not what I want to do though. I want to figure out where the code is in each mod that is picked up by the hook so that I can "release" it from the hook and manually configure it into my postbit. Of course, I am only assuming that this is even possible. Is there any article already written, source or easy response to help me? I am willing to buy a book, research, read or whatever it takes... I just need pointed in the right direction. Thanks to anyone who can point the general direction to the needle in my haystack. :) |
Quote:
Now the next part is trickier. In some cases, the plugin calls a template to display it's information. So in those cases, you can turn the plugin off and look for the template it calls and copy and paste that template information into your postbit_legacy template instead. For instance, DownloadsII postbit information is controlled via the downloads_postbit_display_complete plugin. And all that plugin says is: PHP Code:
In other cases, the plugin might reference a PHP file, in which case you'd have to go to that file and search for the code to duplicate. Another case might have the postibit code worked right into the plugin itself. In all cases though, provided you can find the HTML code used, you can just disable that one plugin and post the HTML code wherever you want (and however you want it to look) in your postbit_legacy template, removing any extraneous code inherent to PHP, like escaped quotations \" |
Wow.. thank you so much... that actually makes sense to me. Now I just have to find a quiet place and a few hours to make it happen.. hehe..
THANK YOU!! |
No problem. And I meant to say escaped quotations towards the end there. \"
|
I DID IT!! I was able to release everything from the hooks and now I am just struggling with what to put in each tab. Thank you so much for your help. I ran into at least one of EACH example you provided, plus and additional scenario. When I get my post bit all perfect, I will post the codes for some additional hacks.
:) |
I should probably put together an FAQ like I did for my AME XML threads. Be right back.
|
All times are GMT. The time now is 02:56 AM. |
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:
|