![]() |
i made a small mod that you can replace the entire logout crap with "$vlogout"
just out this in the phpinclude (remove the old code first) PHP Code:
open header.php find Code:
<a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a> Code:
$vlogout this is the first time i ever modded something that has to do with php so go easy on me! in a n00b! |
To make this compatible with VBPortal 3, add the code in the instructions into vbp_includes.php, right under:
[QUOTE] include("../config.php"); global $nukepath,$bbuserinfo,$nukeurl,$foot1,$foot2,$foot 3,$foot4; global $Allow_Forum_Leftcolumn, $Forum_Default_Leftcolumn,$newsforum,$pollsforum; chdir($nukepath . "/"); |
quick, easy and definately a nice touch!
Thanks |
I am using this hack and love it.
However, I want to add a new style to the board and change the 'register' and 'profile' buttons in a new style (other than default). I can't get the replacements to work, I keep getting the default buttons in the new style. If I edit the top 'php parsed code' in the new style settings, it changes my default. Is there a way I can change this and still use the hack? |
The Image folder path is a variable that can be changed with each style. Create a new folder for each new set of buttons, and alter the variable ( Admin CP > Styles > at the bottom ). Make sure you keep all the image filenames exactly the same as the original files.
This should work, but someone else could probably give you a better solution. |
For me it works fine in the vB THANK you!
But in the Portal (I use vBPortal 3.0 beta 8) the buttons are just gone! I added the code in the vbp_includes.php but nothing happended! Any suggestions? Greetings StarBuG |
The hack works for vBPortal 3 on the Forum home page, but not for the vBPortal Main Home page (following the vBPortal instructions above). Which is a big hassle. I'll see if there's a way around it.
|
can this be modified to put the buttons in this order for a logged out user
calender - members - faq - search - home - register and for a logged in user user cp - calender - members - faq - search - home - logout and for admin or mod admin/mod cp - user cp - calender - members - faq - search - home - logout if someone can send me the instructions to do this that i list above, please let me know. regards Liam |
if ($thread[open]) {
$replyclose="images/comments.gif"; } else { $replyclose="{closedthreadimage }"; but it does not work. I wanted to replace the Post Reply image in one template with another one without loosing the "closed" option |
can anyone answer my question ?
|
All times are GMT. The time now is 06:20 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:
|