![]() |
Quote:
|
I'm not a dumbass but what is that supposed to mean? I have no clue about vBulletin hacking and all that so could you please be a little more definite?
|
You added some template code as part of this hack, surround that code with an IF - like this ;
Code:
<if condition="$bbuserinfo[usergroupid] == 6"> |
Nice.
Clicks Install! |
Thnx Paul, but I get a error when I upload de file with the Plugin system.
Error : Invalid File Specified EDIT : GREEN ALARM :rolleyes: I upload the file with the [Add/Import Product] :dead: |
Quote:
I followed instructions and didn't re-do steps 1 and 2. The template was still showing at the bottom of 3.5 so I knew it was ok so proceeded with the browse in admin CP for the XML file. It just keeps saying invalid file specified. I know Paul is away, anyone else had this problem and resolved it? |
Quote:
Go to Plugin system >> Dowload / upload plugins >> browse >> import |
There is an error in mail the user gets: "Hello test1, you have got a private message from test1".
|
Quote:
|
Quote:
|
ok, I have to be doing something wrong here :)
I have altered the forumhome template and it shows the table and header okay ( but with no number after the colon ) I have installed the plugin and it all says it is installed correctly. plugin is active and plugins are turned on in Vb options. But table is empty, no number after the colon on the title bar, and when I refresh the page it gives a parse error that disappears so quickly I cannot read it. If I turn off plugins in options then the parse error does not appear. Any ideas ? <edit> Parse error says Parse error: parse error, unexpected T_STRING in /home/graham/public_html/index.php(63) : eval()'d code on line 2 |
anyone ?
|
OK, dont know what was going on there but I deleted everything, downloaded it again, uploaded it agin, and it all works fine. Many thanks for the hack.
*pops off to click install* |
Works like a charm! :up:
|
Quote:
This is very useful. I?m not an expert, so I must ask: If I want more than one usergroupid, what is the code? |
Just add the group ID right next to the number "6".
ie: 6,7,8,9 So the final code will look like: <if condition="$bbuserinfo[usergroupid] == 6,7,8,9"> Although I am NOT sure so backup your file(s) before proceeding. |
Quote:
It was TO easy! :nervous: |
Perfect
|
No problem. :)
|
Love it cheers!
|
Invalid File Specified is error i get
\ |
Spot on, thanks
|
Is there a code so I can get the visitor in order:
Administrators(6), Moderators(7), Special members(9) and than the others? |
I did all but the second optional step, and is not working. I dont have a 0 either just the table that is colapsible and members today. Plugins are active , as I dont see anywhere to turn them ON like you say. Is it my DST setting like someone mentioned.
Thanks socalsoccer.com |
pasted this:
<!-- Todays active users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_todayusers')"><img id="collapseimg_forumhome_todayusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_todayusers].gif" alt="" border="0" /></a> Total users that have visited today: $totaltoday </td> </tr> </tbody> <tbody id="collapseobj_forumhome_todayusers" style="$vbcollapse[collapseobj_forumhome_todayusers]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="Users online today" border="0" /></td> <td class="alt1" width="100%"><div class="smallfont">$whotoday</div></td> </tr> </tbody> <!-- Todays active users --> |
hook location is adminstart the first one.
|
What is the url of your site ?
|
Quote:
|
socalsoccer.com
it selests that hook for you when adding the plugin |
you have to have a plugin location after Vbulletin product in RC2.
|
Tryed again but still no 0, just collapsible table. Does this work with RC2?
|
Quote:
|
Quote:
|
It is a plugin, not a product - you will get that error if you try and upload it as a product (via the product manager).
|
Stupid of me!
Thanx paul |
Thansk Paul. Been using it for awhile now and just realized you updated it to be "Dynamic" (method 2). I would recomend making note of EXACTLY what variable to edit in your main post to save you alot of trouble of explaining which line to delete. Just a thought. ;)
|
Sorry, but I'm a bit confused as to what you are talking about.
|
The term used for method 2 where it does not reset is called "dynamic" I believe.
As far as the other part, meh forget it, not important. Now I have problem however. I want to make this dynamic(method 2/Does not reset) so i edited his variable out of the plug in: PHP Code:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 08:05 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:
|