View Full Version : Welcome Panel Hack V1.1 [vB3.0.x]
SmasherMaster
07-07-2004, 10:00 PM
Version 1.1
Hack Author:
Name: SmasherMaster (https://vborg.vbsupport.ru/member.php?u=49730)
E-Mail: webmaster@megareviews.com
Forums: http://www.megareviews.com/forums
Description:
This hack replaces the box on top of the postbit in the index page with a snazzy panel with stats, new posts and PMs. When you go to view a different page, the box on top of the navbar changes into the default navigation/breadcrumb box.
Changelog:
V1.1
|-Changed file edit to global.php for tidier code.
|
|-Added file and new template edits for VbAdvanced CMPS so the welcome panel will work on CMPS.
V1.0
|-Welcome Panel Hack RELEASED! :)
Installation Time:
5 min.
Zip Contents:
Welcome_Panel_Hack.zip
|-instructions.txt -- Instructions on how to install this hack.
|-noavatar.gif -- Image for members who don't have an avatar yet.
|-guestavatar.gif -- Image for guests.
|-Welcome_Panel_Guest.jpg -- What the panel will look like to a guest
|-Welcome_Panel_loggedin.jpg -- What the panel will look like to a member with an avatar
|-Welcome_Panel_loggedin_noav.jpg -- What the panel will look like to a member without an avatar
Testing:
Tested on vBulletin 3.0.3
Files to Modify:
forumroot/global.php
Templates to Modify:
forumhome (Optional)
navbar
Images to Upload:
noavatar.gif
guestavatar.gif
Notes:
If you use this hack, please click on the INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=66969) button.
You will be notifited via email about any updates or changes.
My first hack made, and thanks to Zero Tolerance for the Welcome Panel hack inspiration.
SmasherMaster
07-08-2004, 06:41 PM
Argh, I must have missed the part where you agree to give support, as I wish to, I'll add it to the first post
Holidazed
07-08-2004, 06:44 PM
Sweet hack. Thank you
Question. I am using vbAdvanced CMPS system. How do I add your hack to that as well?
edeab220
07-08-2004, 08:17 PM
Very cool :). I just installed it.
SmasherMaster
07-08-2004, 08:25 PM
Sweet hack. Thank you
Question. I am using vbAdvanced CMPS system. How do I add your hack to that as well?
Find in template navbar
<if condition="THIS_SCRIPT == 'index'">
Replace with
<if condition="THIS_SCRIPT == 'index' OR 'adv_index'">
EDIT: it works, look in the php code above for the answer...but if you got CMPS out of your fourms DIR, that's a slight problem as the avatar images don't show up. I'll find out that error and fix it right away. :)
Holidazed
07-08-2004, 08:51 PM
seems to work. But you are right. My CMPS is outside of my forums directory and my avatar does not show up. Is there a variable or something i can use to automatically determin the path of the avatars directory?
turbidblue
07-08-2004, 08:51 PM
hello, i was wondering if my forum would benefit from this being that i have a purchased style, and was wondering how i go about placing this under my nav bar, so that my image at the top stays intact...and so my nav bar stays the same?
if you have time,
turbidblue.com (http://turbidblue.com)
thanks for any help you can provide
SmasherMaster
07-08-2004, 09:00 PM
bitg: I just noticed that the welcome panel not only appears on the CMPS, but on every other page as well...This is puzzling indeed, and on top of that, the forum stats and the new posts varibles are also missing. I'll have to keep working on this.
turbidblue: Your navbar should remain intact, because all you have to do is edit the navbar template. The Banner will remain intact as well, as this does not edit the Header template. But since that is a type of style I have never dealt with before, I'm not certain, but all should remain. :)
turbidblue
07-08-2004, 09:10 PM
wow smasher! it worked :) very nice hack and thanks for your help ;)
So i guess you can also say that this has been tested and works on 3.0.1 too :)
*clicks install
SmasherMaster
07-08-2004, 09:29 PM
Wonderful, glad it worked! :)
I figured out the problem with the hack being on CMPS...The phrases that are in the file edit are not in the cmps file. I must figure out a way to include the phrases, and then, it will no doubt work. Hang in there bitg. ;)
SmasherMaster
07-09-2004, 07:11 PM
I've finally gotton it to work, but the welcome panel appears on every page instead of just on the CMPS and Index, just a minor issue but will be adressed, then i'll update the hack to 1.1! ;) Unfortunatly, the file edit will now be in global.php instead of index.php. I doubt having file edits for both will hurt anything, but when I release it I advise you to remove the hack from index.php. ;)
EDIT: Issue fixed, new version uploaded with full instructions, GO GET 1.1! :D
Henry-RS
07-09-2004, 08:13 PM
There is no attachment. ;)
Edit; Nevermind.
SmasherMaster
07-09-2004, 08:19 PM
Hehem I had to reupload it because of a slight instructions error. I had below instead of above and that can cause something nasty errors. ;)
Holidazed
07-10-2004, 02:23 AM
Hehem I had to reupload it because of a slight instructions error. I had below instead of above and that can cause something nasty errors. ;)
I noticed that. I made the change automatically. Thansk for the awesome hack. The update works great with vbadvanced now.
SmasherMaster
07-10-2004, 06:05 PM
I noticed that. I made the change automatically. Thansk for the awesome hack. The update works great with vbadvanced now.
Great! :D
Rambo
07-13-2004, 11:52 AM
Installed very nicely ^_^
Bro_Joey_Gowdy
07-22-2004, 11:59 AM
clicks install
Caiman
07-22-2004, 03:26 PM
Installed with ease, thanks.
*clicked install
The Coldwood
07-28-2004, 02:04 PM
It has a weird affect with the theme vBulletin Classic. Try logging in and you will still see the box.
fatefellshort
08-02-2004, 11:49 PM
I am having some problems. I followed the instructions and when I hit Save for the Navbar edit, it says:
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mikeydef/public_html/forums/includes/adminfunctions_template.php(3055) : eval()'d code on line 118
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Dead End Society
08-03-2004, 03:31 AM
So if we have the default theme (all I did was edit mine) we will have problems?
bspiller82
08-09-2004, 06:14 AM
I am having some problems. I followed the instructions and when I hit Save for the Navbar edit, it says:
I had same error and clicked continue anyway and it seems to work just fine.
Symbian.info
08-24-2004, 11:51 PM
Works great, only you forgot the Languages Phrases. But ok I can do that by my self (done that).... (there are more people in the world then English speaking people :squareeyed: )
And it goes wrong if you use the extra pages with vBadvanced CMPS like: adv_index.php?page=extra
Then the welcome panel must NOT be showing... Can you fix that??
Other problem is when I switch of the Welcome module of CMPS the avatar is gone, switch I the stats module off de newest member is also gone in the welcome panel :surprised: But I want thoose modules switch off because everything is now standing in the welcome panel!
Can you fix this??
And why this? I try both (with and without the <if> and no difference
<if condition="THIS_SCRIPT == 'adv_index'">
Welcome to our newest member,
<a href="member.php?$session[sessionurl]u=$newuserid">$newusername</a>
<else />
<phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</if>
But thanks for the great hack!
moethelawn
08-26-2004, 06:01 AM
Nice job buddy :D
DarkWarriorXII
08-26-2004, 06:02 PM
Great hack! Installed. :D I like the title design on the instructions file :p.
Loki12
09-18-2004, 09:30 AM
I have installed, but then uninstalled again. Reason: My users' avatars are too big, and thus the block creates a lot of empty space that is unused....
hinch
09-21-2004, 09:05 AM
installed it works fine looks cool
www.furious-angels.com
Ber|Art
10-14-2004, 02:17 PM
Thx works great and is easy to install :)
Ber|Art
10-20-2004, 11:53 AM
I was wondering how to get more statistics in the panel, I trying to get the number of Arcade games in there but don't now how? Is there a way to create a second colum for other stats?
Like this hacks:
https://vborg.vbsupport.ru/showthread.php?t=69392
http://www.v3arcade.com/play/showthread.php?t=1604
http://www.v3arcade.com/play/showthread.php?t=1382
Thanks!
Ugur CETIN
10-28-2004, 07:31 PM
lol :) thats great hack!
rex_b
10-29-2004, 02:48 AM
Would there be any way to shrink the info in this area so it's not so big?
Lethal
11-03-2004, 02:17 AM
Works great, only you forgot the Languages Phrases. But ok I can do that by my self (done that).... (there are more people in the world then English speaking people :squareeyed: )
And it goes wrong if you use the extra pages with vBadvanced CMPS like: adv_index.php?page=extra
Then the welcome panel must NOT be showing... Can you fix that??
Other problem is when I switch of the Welcome module of CMPS the avatar is gone, switch I the stats module off de newest member is also gone in the welcome panel :surprised: But I want thoose modules switch off because everything is now standing in the welcome panel!
Can you fix this??
And why this? I try both (with and without the <if> and no difference
<if condition="THIS_SCRIPT == 'adv_index'">
Welcome to our newest member,
<a href="member.php?$session[sessionurl]u=$newuserid">$newusername</a>
<else />
<phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</if>
But thanks for the great hack!
Same here, and also, when the welcome is switched off my avatar gets all messed up. I am going to mess around and see if I can come up with something.
TruthElixirX
11-03-2004, 11:27 PM
<a href="http://www.punktek.com" target="_blank">www.punktek.com</a>
See the avatar thing doesn't show up on CMPS. I am running the newest version. Plus it shows up on every page (I think this has already been brought up?) any ideas?
ambumann
11-12-2004, 05:50 AM
Can anyone tell me why the counter in the navbar says
Threads: 5141
Posts: 50747
while the "what's up" stats says:
Threads: 4937
Posts: 50734
Another that's giving me some trouble is to get "New threads" in the navbar appearing as a link.
Sweet Evil
11-13-2004, 11:34 PM
The noavatar image was not showing up for users..
had to change:
$bbuserinfo['user_avatar']="<img src='/images/avatars/noavatar.gif' alt='Edit Your Avatar' border='0'>";
to:
$bbuserinfo['user_avatar']="<img src='/forums/images/avatars/noavatar.gif' alt='Edit Your Avatar' border='0'>";
Because your code was pointing to blah.com/images/ instead of blah.com/forums/images - FYI
Nice mod though thanks!
ChrisBaktis
11-14-2004, 12:16 AM
Can anyone tell me why the counter in the navbar says
Threads: 5141
Posts: 50747
while the "what's up" stats says:
Threads: 4937
Posts: 50734
Another that's giving me some trouble is to get "New threads" in the navbar appearing as a link.
Same here - my count is different - is there maybe a forum that one count picks up and not another?
SmasherMaster
11-14-2004, 12:47 AM
Oh i'm so sorry people, I had taken a break from vbulletin and had not know my hack thread got posts! Thanks for your feedback, and although it's my first hack i'll make sure to try to fix these things. :)
Loki12: Can you specify, like alot of unused space in between the avatar and the borders?
Ber|Art: I'm not sure on those, i'll try to whip them up for a V2 if I can. :D
Ambumann: I'm supposing it picks up the forums that have "Count posts" As off. Or it could be that it doesn't really update after you update the posts/treads in the management. I'll look into it. :)
Punktek: Did you download the new update? I'm very positive I fixed that in 1.1.
Symbian.info: This is strange, i'll have a look at the coding.
Again, sorry about the delay people, been having internet and computer AND forum problems but i'll do my best to help you guys out. :)
NSeXcellent
11-15-2004, 07:48 PM
Installed.. nice addition.. however, I seem to have lost this... can anyone help?
ChrisBaktis
11-15-2004, 11:39 PM
That will no longer show up on the Forum Home page...the welcome panel will - once you go into a forum or thread that part of the navigational bar will come back.
NSeXcellent
11-16-2004, 12:22 AM
That will no longer show up on the Forum Home page...the welcome panel will - once you go into a forum or thread that part of the navigational bar will come back.
Actually, that screen shot was taken from a forum ...
ChrisBaktis
11-16-2004, 12:46 PM
woops - sorry
chad smith
11-28-2004, 08:28 PM
Very nice! I love this hack!
SmasherMaster
11-30-2004, 12:44 AM
Installed.. nice addition.. however, I seem to have lost this... can anyone help?
Are you sure? That's very odd...Can I have a link?
teamgofast
12-01-2004, 02:17 AM
installed nice hack thank you!
biggkay
12-09-2004, 12:56 AM
I have a problem with the vbadvanced panel. First off it just displays the text "Edit Your Avatar" and not the avatar, and the link orginates from mysite.com/home/profile.php?&do=editavatar and not from mysite.com/forums/profile.php?&do=editavatar How and where can I change this so it works?
biggkay
12-10-2004, 11:27 PM
Anybody??
IC-Games
12-11-2004, 08:57 AM
Can you force the avatar profile to be fixed at a certain dimension. The template starts looking ugly with the larger avatars
trevelyn1015
12-12-2004, 08:00 PM
i installed, then uninstalled... kinda cluttered looking...
nice work, though...
ragintajin
12-12-2004, 09:12 PM
Looks great!!
Any ideas on how to add this to the CMPS only??
SmasherMaster
12-15-2004, 12:17 AM
I have a problem with the vbadvanced panel. First off it just displays the text "Edit Your Avatar" and not the avatar, and the link orginates from mysite.com/home/profile.php?&do=editavatar and not from mysite.com/forums/profile.php?&do=editavatar How and where can I change this so it works?
Well that's odd, can I have a link? Because it certainly shouldn't point to /home/ it should point to /forums/ or your main forum DIR...
biggkay
12-15-2004, 02:18 AM
You got PM
SmasherMaster
12-15-2004, 06:44 PM
Ahh, I see the problem. It seems any dir used other than the base dir ( like www.mysite.com ) seems to mess it up, i'll see what I can do to fix it...
biggkay
12-15-2004, 06:50 PM
Thanks...
/me is wating impatiently.
SmasherMaster
12-15-2004, 06:53 PM
I may have found something.
In /forumroot/global.php find this
$bbuserinfo['user_avatar']="<a href='profile.php?{$session['sessionurl']}&do=editavatar'>{$bbuserinfo['user_avatar']}</a>";
And right before the "profile.php" part add in "forums/" (Or whatever your forums DIR is named & Without quotations) and see if that works.
Edit: Sorry that probably wouldn't work, put in your full forum URL, including site before the profile, like: "http://www.yourskite.com/forums/"
biggkay
12-15-2004, 07:27 PM
That works, however the avatars are still not showing up.
It sources the avatar from "http://www.mysite.com/home/image.php?u=1&dateline=1103146281"
Where can I change it so it sources from /forums/
SmasherMaster
12-15-2004, 08:14 PM
Try this:
in /forumroot/global.php find
$bbuserinfo['user_avatar']="<img src='{$bbuserinfo['user_avatar']}' alt='Edit Your Avatar' border='0'>";
and after the <img src=' part and before the {$bbuserinfo['user_avatar']} part, enter your full dir leading to your forums and see if that works
biggkay
12-15-2004, 09:12 PM
It works! Great, thanks. Now 1 more question. Should it have the guest avatar up for lurkers as well? I'm asking because it doesn't show anything.
SmasherMaster
12-15-2004, 10:00 PM
Yeah, here's the fix.
find in your navbar template
<!-- Guest [] Begin -->
<!-- Avatar -->
<td class="alt1" valign="middle" align="center">
<a href="register.php?ID=&"><img src="images/avatars/guestavatar.gif" border="0"></a>
</td>
<!-- / Avatar -->
And where it says <img src="images/avatars/guestavatar.gif" border="0"> input your full dir including your forums subdir, so it would end up looking like this <img src="www.mysite.com/forums/images/avatars/guestavatar.gif" border="0">
biggkay
12-15-2004, 10:43 PM
It works fine on the forums when I leave like it is, if i change the code to the full path then it totally takes off the guest avatar from forums and still doesn't do anything for the vbadvanced. :(
SmasherMaster
12-16-2004, 12:35 AM
Well then how about putting 'forums/' in front of 'images/' in the img src coding that i put in above instead of the full URL, that might work.
biggkay
12-16-2004, 03:40 AM
Still doesn't work. Did the same thing as for the full url. Took off the guest avatar from the forums and didn't do anything for vbadvanced.
biggkay
12-16-2004, 09:05 PM
I finally got it. I had to instert the full path url where the avatar was orginally placed with the skin, which was forums/images/skin_name/mics/guestavatar.gif
Thanks a lot for your help.
SmasherMaster
12-17-2004, 01:17 AM
Ah ok, glad you got it working. :) No problem, any time you got another problem come here post a link and i'll see what I can do. :D
Sleepyk
12-19-2004, 11:51 PM
the count is messing up and sense i installed it people cannot post
well they do but appears invisible and cant be seen
winky6
12-25-2004, 11:09 PM
Great job on this hack.
After installing it, I noticed that the left side had an extra column to the left of the guest avatar.... So I changed this in your hack
from -
<!-- Main Welcome Panel Block [] Begin -->
<td class="alt1" valign="middle" align="center">
<if condition="$bbuserinfo[userid]!=0">
To
<!-- Main Welcome Panel Block [] Begin -->
<if condition="$bbuserinfo[userid]!=0">
<td class="alt1" valign="middle" align="center">
The way it was written created 2 blocks for the guest avatar.
Oddly, this was only in the step 2 directions, and not in the second directions for vb-cmps
Don't know if anyone else caught this, But great job just the same.
jamesk
12-26-2004, 12:45 AM
thx, man, it rox da box :)
http://www.xoohq.com/forums/index.php?
jamesk
12-26-2004, 12:46 AM
i noticed what winky was talking about the first time i installed the mod, so i redid it and it works like a charm. everything works as far as i can tell and i dont have the extra column on the left like i did the first time.
* Clb clicks install :)
thnx!
What would I have to do to make this show up on all the pages on vB? My users love it and want it on all the pages they are on. :P
nathanaus
01-04-2005, 10:55 AM
Try this:
in /forumroot/global.php find
$bbuserinfo['user_avatar']="<img src='{$bbuserinfo['user_avatar']}' alt='Edit Your Avatar' border='0'>";
and after the <img src=' part and before the {$bbuserinfo['user_avatar']} part, enter your full dir leading to your forums and see if that works
Nice hack. I clicked install!
As to this issue above I had the same problem in that registered users without an avatar was showing up as a broken link. I'm running the forum as a subdirectory of the main site - www.example.com/forum
Anyway, you don't need to add the full path in etc all you need to do is find this line in the global.php:
$bbuserinfo['user_avatar']="<img src='/images/avatars/noavatar.gif' alt='Edit Your Avatar' border='0'>";
Notice the bolded / part (in the section <img src='/images)? Remove that forward slash (so you don't tell the script/hack to go to the root directory and look in the images folder of the root) so you have:
$bbuserinfo['user_avatar']="<img src='images/avatars/noavatar.gif' alt='Edit Your Avatar' border='0'>";
Problem solved :)
Nice work!
I installed this for 3.0.3 and it worked fine, but when I upgraded to 3.0.4 the text disappeared. I can see the avatar and the who is online bit, but not the text that's supposed to be next to the avatar (number of posts since your last visit if I remember correctly).
Any clues?
wi11ie1950
01-06-2005, 11:32 PM
When attempting to save the navbar template in 3.0.4
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mikeydef/public_html/forums/includes/adminfunctions_template.php(3055) : eval()'d code on line 118
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Mythotical
01-11-2005, 12:33 AM
I am using Quick Account Switch, is there a way I can use this with that? For some reason, when I use this Welcome Panel but one prob, using Quick Account Switch caused the drop down box with the names in it not to work. What can I do to make the quick account switch work?
Thanks for the help in advance
Myth
Mythotical
01-11-2005, 01:20 AM
Nevermind, I got it figured out. I will post the code here for anyone that uses Quick Account Switch.
go to AdminCP -> Styles Manager -> Edit Templates -> navbar
Find:
<!-- breadcrumb, login, pm info -->
Below that Find:
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<!-- Main Welcome Panel Block [] Begin -->
<td class="alt1" valign="middle" align="center">
<if condition="$bbuserinfo[userid]!=0">
<!-- Avatar Cell [] Begin -->
{$welcome_avatar}
<!-- Avatar Cell [] End -->
</td>
<td class="alt2" nowrap="nowrap" style="padding:3px">
<!-- Your Stats [] Begin -->
<div class="smallfont"><b>Your Info:</b><br />User: <a href="member.php?{$session['sessionurl']}u={$bbuserinfo['userid']}" title="Go To Your Profile">{$bbuserinfo['username']}</a><br />
<a href="search.php?{$session['sessionurl']}do=getnew">New Posts</a>: {$welcome_new_posts['new_posts']}<br />New Threads: {$welcome_new_topics['new_topics']}<br />
<if condition="$show[pmstats]"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if></div>
<!-- Your Stats [] End -->
<else />
<!-- Guest [] Begin -->
<!-- Avatar -->
<td class="alt1" valign="middle" align="center">
<a href="register.php?ID=&"><img src="images/avatars/guestavatar.gif" border="0"></a>
</td>
<!-- / Avatar -->
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smallfont">User Name</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
</tr>
<tr>
<td class="smallfont">Password</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
</tr>
<tr>
<td class="smallfont" colspan="2" nowrap="nowrap">
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me?</label>
<input type="submit" class="button" value="Log in" tabindex="4" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" />
</td>
</tr>
</table>
<input type="hidden" name="ID" value="" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->
</td>
<!-- Guest [] End --></if>
</td>
<td class="alt1" valign="top" nowrap="nowrap">
<!-- Forum Stats [] Begin -->
<div class='smallfont'><b>Forum Stats:</b><br />Threads: $welcome_topics<br />Posts: $welcome_posts<br />Members: $welcome_members<br /><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
<!-- Forum Stats [] End -->
</td>
<!-- Main Welcome Panel Block [] End -->
</tr>
</table>
<else />
<!-- / Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
Replace with:
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<!-- Main Welcome Panel Block [] Begin -->
<td class="alt1" valign="middle" align="center">
<if condition="$bbuserinfo[userid]!=0">
<!-- Avatar Cell [] Begin -->
{$welcome_avatar}
<!-- Avatar Cell [] End -->
</td>
<td class="alt2" nowrap="nowrap" style="padding:3px">
<!-- Your Stats [] Begin --><!-- Quick Account Switch v1.2 -->
<if condition="$account_master">
<span id="switchacc"><a href="#switchacc"><strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong></a> <script type="text/javascript"> vbmenu_register("switchacc"); </script></span><br />
<else />
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
</if>
<!-- Quick Account Switch v1.2 -->
<div class="smallfont"><b>Your Info:</b><br />User: <a href="member.php?{$session['sessionurl']}u={$bbuserinfo['userid']}" title="Go To Your Profile">{$bbuserinfo['username']}</a>
<br />
<a href="search.php?{$session['sessionurl']}do=getnew">New Posts</a>: {$welcome_new_posts['new_posts']}<br />New Threads: {$welcome_new_topics['new_topics']}<br />
<if condition="$show[pmstats]"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if></div>
<!-- Your Stats [] End -->
<else />
<!-- Guest [] Begin -->
<!-- Avatar -->
<td class="alt1" valign="middle" align="center">
<a href="register.php?ID=&"><img src="images/avatars/guestavatar.gif" border="0"></a>
</td>
<!-- / Avatar -->
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smallfont">User Name</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
</tr>
<tr>
<td class="smallfont">Password</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
</tr>
<tr>
<td class="smallfont" colspan="2" nowrap="nowrap">
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me?</label>
<input type="submit" class="button" value="Log in" tabindex="4" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" />
</td>
</tr>
</table>
<input type="hidden" name="ID" value="" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->
</td>
<!-- Guest [] End --></if>
</td>
<td class="alt1" valign="top" nowrap="nowrap">
<!-- Forum Stats [] Begin -->
<div class='smallfont'><b>Forum Stats:</b><br />Threads: $welcome_topics<br />Posts: $welcome_posts<br />Members: $welcome_members<br /><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
<!-- Forum Stats [] End -->
</td>
<!-- Main Welcome Panel Block [] End -->
</tr>
</table>
<else />
<!-- / Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
Enjoy and you shouldn't have any problems getting QAS to work with Welcome Panel.
Myth
StuKeR
01-15-2005, 02:07 PM
If you have disabled the navbar on the CMPS there's any way to made it run? Because in muy website I just disabled my navbar, but I wish to use this nice hack.
I upload one capture from my web side to see if could be posible to made it run
"Bienvenido/ a usuario [desconectar] -> Welcome (name of the user that has login) [log out]"
Usuarios: -> Users
(On line) -> Users online on the web
Posts: -> Discusions or threads ( I don't know the diference :p )
Fotos : Photos from VBgallery
Enlaces : URLS form VBdirectory
the 000.000 that apears are only a 000.000 texted, I mean I writte my self this stats...
any one could helpme please??
edited : Sorry I forgot to upload the image...
solved
I had it installed also on 3.0.3 and then when upgrading to 3.0.5 the text disappeared.
When I edited the global.php file again to add in the coding, there was an error which basically said it would not work.
Any chance we could get some modified code?
StuKeR
01-15-2005, 07:00 PM
Sen try to edit template of navbar and save. Simple to recharge the new template...
lanc3lot
01-15-2005, 07:42 PM
So is this hack working ok for 3.0.3 ppl?
:)
biggkay
01-15-2005, 07:46 PM
So is this hack working ok for 3.0.3 ppl?
:)
I have it on my 3.0.3 and works great. I had to do some mods to make it work with my CMPS but works nicely.
StuKeR
01-15-2005, 08:18 PM
and with 3.0.5 also works...
there's any help for my question plz???
:'(
Trisha
01-16-2005, 06:17 PM
I need help...
I added the coding to global.php and to the navbar template. Now when I try to access my Admin CP, I get this error message:
Parse error: parse error, unexpected '(' in /home/reality/public_html/admincp/global.php on line 30
I can't find the problem. Any help you can give me would be appreciated.
StuKeR
01-16-2005, 08:07 PM
I need help...
I added the coding to global.php and to the navbar template. Now when I try to access my Admin CP, I get this error message:
Parse error: parse error, unexpected '(' in /home/reality/public_html/admincp/global.php on line 30
I can't find the problem. Any help you can give me would be appreciated.
post the line 30 of global.php to see if there's any mistake
Trisha
01-16-2005, 08:09 PM
I'm pretty new to all of this stuff... I think this is line 30 (the one in bold):
// identify where we are
define('VB_AREA', 'Forum');
// ################################################## ###########################
// Start initialisation
require_once('./includes/init.php');
// ################################################## ###########################
// Start functions
if (DB_QUERIES)
{
// start functions parse timer
echo "Parsing functions.php\n";
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$beforetime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
'./includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')echo "Time before: $beforetime\n";
if (function_exists('memory_get_usage'))
{
echo "Memory Before: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
}
require_once('./includes/functions.php');
if (DB_QUERIES)
{
// end functions parse timer
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
echo "Time after: $aftertime\n";
echo "Time taken: " . ($aftertime - $beforetime) . "\n";
if (function_exists('memory_get_usage'))
{
echo "Memory After: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
StuKeR
01-16-2005, 08:18 PM
perhaps could be the functions.php on the include... I don't see anything wrong... but I'm a lammah on that
stumparoooo
01-16-2005, 10:31 PM
I'm pretty new to all of this stuff... I think this is line 30 (the one in bold):
// identify where we are
define('VB_AREA', 'Forum');
// ################################################## ###########################
// Start initialisation
require_once('./includes/init.php');
// ################################################## ###########################
// Start functions
if (DB_QUERIES)
{
// start functions parse timer
echo "Parsing functions.php\n";
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$beforetime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
'./includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')echo "Time before: $beforetime\n";
if (function_exists('memory_get_usage'))
{
echo "Memory Before: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
}
require_once('./includes/functions.php');
if (DB_QUERIES)
{
// end functions parse timer
$pageendtime = microtime();
$starttime = explode(' ', $pagestarttime);
$endtime = explode(' ', $pageendtime);
$aftertime = $endtime[0] - $starttime[0] + $endtime[1] - $starttime[1];
echo "Time after: $aftertime\n";
echo "Time taken: " . ($aftertime - $beforetime) . "\n";
if (function_exists('memory_get_usage'))
{
echo "Memory After: " . number_format((memory_get_usage() / 1024)) . 'KB' . " \n";
}
Parse error: parse error, unexpected '(' in /home/reality/public_html/admincp/global.php on line 30
Does the error message simply mean to take a parenthesis out of the line??
I'm new to this also.
oz_moses
01-18-2005, 11:33 AM
thanks for this fantastic hack - I've installed it with CMPS and had no issues at all
Sen try to edit template of navbar and save. Simple to recharge the new template...
Did that, then I edited the global file again. Not it works.
Thank you :)
StuKeR
01-18-2005, 12:35 PM
How I can made it run I've I got navbar desactivated???
this hack adds alot of queries in a website, 6 minimum :( has anyone tried to optimize it?
nathanaus
01-30-2005, 10:20 AM
I have found another two issues.
It relates specifically to the hack as integrated into vBadvanced.
If the user arrives as a guest - no problem the "guest please resiter" avatar shows up.
If the user logs in and has their own avatar - again no problem their avatar shows up o nthe vbadnaced page.
However, if the registered user doesn't have an avatar, they don't get the "no avatar selected" avatar. They get nothing at all. But if they go to the forum itself they then get the "no avatar selected" avatar no problem. How do I fix this?
Second issue.
Again relates to VBadvance. If you turn off the vbadnaced "welcome panel" it turns off the showing of avatars on the welcome hack. It almost defeats the purpose to have the two welcome hacks working side by side, but you don't have a choice. Any way around this?
Again relates to VBadvance. If you turn off the vbadnaced "welcome panel" it turns off the showing of avatars on the welcome hack. It almost defeats the purpose to have the two welcome hacks working side by side, but you don't have a choice. Any way around this?
I agree with nath.. i'm having the same issue
carolmyt
02-03-2005, 02:59 PM
I also lost my breadcrumb list on the forum pages. I noticed someone else had this problem a while back, but I never saw an answer posted. It also looks like the support on this hack has disappeared. Can anybody help me out here?
SupremeWeapon
02-04-2005, 05:53 AM
ive had this installed for a while now on 3.0.3 (i dont wanna upgrade:P) it installed fine on the dragon style. but im now undergoing routine maintnence and trying to put it on xtreme_fluid but when i try to edit the nav i get this
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/******/public_html/forums/index.php(610) : eval()'d code on line 109
i know many many many people here have gotten this yet there has yet to be a support response on this. any help?
biggkay
02-05-2005, 02:08 PM
Can anyone tell me why the counter in the navbar says
Threads: 5141
Posts: 50747
while the "what's up" stats says:
Threads: 4937
Posts: 50734
I'm having the same problem...Any way to fix this?
Rogue Pan
02-06-2005, 02:19 AM
@biggkay
I believe it's counting the "soft" delete threads/posts. If they weren't physically removed. I noticed that for mine, and just removed the whole bottom statistics area anywayz, so it didn't really matter to me.
biggkay
02-07-2005, 03:03 AM
Rouge Pan,
Is there any way to fix this so it doesn't count them?
Rogue Pan
02-07-2005, 12:31 PM
If it's the "soft" delete threads/posts being counted, physically remove them. I am not even positive that is what it is though, I just believe that it is. Why have 2 statistics show anywayz, just remove the lower one..
cbr900racer22
02-07-2005, 06:30 PM
Lovin it, thanks
guyincorby
02-07-2005, 09:58 PM
Second issue.
Again relates to VBadvance. If you turn off the vbadnaced "welcome panel" it turns off the showing of avatars on the welcome hack. It almost defeats the purpose to have the two welcome hacks working side by side, but you don't have a choice. Any way around this?
There is a way to have the user avatar show up without having the "Vbadvanced Welcome Module" loaded.
Look for the code below in global php
$bbuserinfo['user_avatar']="<img src='{$bbuserinfo['user_avatar']}' alt='Edit Your Avatar' border='0'>";
and replace it with this.
$avatarurl = fetch_avatar_url($bbuserinfo['userid']);
$avatarurl = iif($avatarurl, $vboptions['bburl'] . '/' . $avatarurl, $stylevar['imgdir_misc'] . '/noavatar.gif');
The code needs cleaning up a bit but it works
Dantenator
02-07-2005, 10:42 PM
There is a way to have the user avatar show up without having the "Vbadvanced Welcome Module" loaded.
Look for the code below in global php
$bbuserinfo['user_avatar']="<img src='{$bbuserinfo['user_avatar']}' alt='Edit Your Avatar' border='0'>";
and replace it with this.
$avatarurl = fetch_avatar_url($bbuserinfo['userid']);
$avatarurl = iif($avatarurl, $vboptions['bburl'] . '/' . $avatarurl, $stylevar['imgdir_misc'] . '/noavatar.gif');
The code needs cleaning up a bit but it works
That fixed up the avatar nicely, but I noticed the same thing needs to be done with the 'Welcome to our newest member' because the user name disappears when the Stats block is turned off.
Wish I knew php better...
teamgofast
02-07-2005, 10:55 PM
ive had this installed for a while now on 3.0.3 (i dont wanna upgrade:P) it installed fine on the dragon style. but im now undergoing routine maintnence and trying to put it on xtreme_fluid but when i try to edit the nav i get this
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/******/public_html/forums/index.php(610) : eval()'d code on line 109
i know many many many people here have gotten this yet there has yet to be a support response on this. any help?
I had the same problem with my xtreme fluid (my error), . here is mine if it will help you any, i think i was missing the </if> part at the end
</script>
<br />
<!-- breadcrumb, login, pm info -->
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<!-- Main Welcome Panel Block [] Begin -->
<td class="alt1" valign="middle" align="center">
<if condition="$bbuserinfo[userid]!=0">
<!-- Avatar Cell [] Begin -->
{$welcome_avatar}
<!-- Avatar Cell [] End -->
</td>
<td class="alt2" nowrap="nowrap" style="padding:3px">
<!-- Your Stats [] Begin -->
<div class="smallfont"><b>Your Info:</b><br />User: <a href="member.php?{$session['sessionurl']}u={$bbuserinfo['userid']}" title="Go To Your Profile">{$bbuserinfo['username']}</a><br />
<a href="search.php?{$session['sessionurl']}do=getnew">New Posts</a>: {$welcome_new_posts['new_posts']}<br />New Threads: {$welcome_new_topics['new_topics']}<br />
<if condition="$show[pmstats]"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if></div>
<!-- Your Stats [] End -->
<else />
<!-- Guest [] Begin -->
<!-- Avatar -->
<td class="alt1" valign="middle" align="center">
<a href="register.php?ID=&"><img src="images/avatars/guestavatar.gif" border="0"></a>
</td>
<!-- / Avatar -->
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smallfont">User Name</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
</tr>
<tr>
<td class="smallfont">Password</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
</tr>
<tr>
<td class="smallfont" colspan="2" nowrap="nowrap">
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me?</label>
<input type="submit" class="button" value="Log in" tabindex="4" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" />
</td>
</tr>
</table>
<input type="hidden" name="ID" value="" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->
</td>
<!-- Guest [] End --></if>
</td>
<td class="alt1" valign="top" nowrap="nowrap">
<!-- Forum Stats [] Begin -->
<div class='smallfont'><b>Forum Stats:</b><br />Threads: $welcome_topics<br />Posts: $welcome_posts<br />Members: $welcome_members<br /><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
<!-- Forum Stats [] End -->
</td>
<!-- Main Welcome Panel Block [] End -->
</tr>
</table>
<else />
<!-- / Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
note: dont forget the if here: </tr>
</table>
<!-- / breadcrumb, login, pm info -->
</if>
nathanaus
02-08-2005, 12:01 PM
There is a way to have the user avatar show up without having the "Vbadvanced Welcome Module" loaded.
Look for the code below in global php
$bbuserinfo['user_avatar']="<img src='{$bbuserinfo['user_avatar']}' alt='Edit Your Avatar' border='0'>";
and replace it with this.
$avatarurl = fetch_avatar_url($bbuserinfo['userid']);
$avatarurl = iif($avatarurl, $vboptions['bburl'] . '/' . $avatarurl, $stylevar['imgdir_misc'] . '/noavatar.gif');
The code needs cleaning up a bit but it works
Thanks for taking the time to answer me.
I tried what you suggested but unfortunately it didn't work. As soon as I turn the weclome block off in vbadvanced the avatar in the welcome hack goes off too. Even after making your suggested change.
As soon as I turn the weclome block off in vbadvanced the avatar in the welcome hack goes off too. Even after making your suggested change.I'm having the same problem :ermm:
nathanaus
02-09-2005, 12:22 AM
Problem fixed! Actually guyincorby your fix did it.
It was around 2am when I tried it and sure enough I applied the fix to global.php in the main forum not on the testing forum which is where I am testing all mods before making them live.
So today when I applied the fix to the correct file it worked perfectly :)
Great work, thank you for your help :)
Of course if I just get the "guest avatar" to show up on the vbadvance page it would be perfect :)
nathanaus
02-09-2005, 07:05 AM
Found another issue. While the fix above works in that it allows the avatar to show while the welcome block is gone from the VBA page.
It unfortunately removes the avatar from the actual forum itself.
I think it's just going to be easier to have two welcome block there.
Found another issue. While the fix above works in that it allows the avatar to show while the welcome block is gone from the VBA page.
It unfortunately removes the avatar from the actual forum itself.
I think it's just going to be easier to have two welcome block there.
try to read the thread for your answers... this problem has been fixed...
https://vborg.vbsupport.ru/showpost.php?p=608701&postcount=100
have a great day...
I got the same issua as nathanaus, once I leave the cmps front page my avatars is replaced by "image.php?u=5&dateline=5764864890"
TLCanna
02-16-2005, 12:16 PM
Does this work with 3.0.6?
TLCanna
02-16-2005, 01:01 PM
Does this work with 3.0.6?
I will answer my own question, LOL.. It does work with 3.0.6.
nathanaus
02-16-2005, 10:08 PM
try to read the thread for your answers... this problem has been fixed...
https://vborg.vbsupport.ru/showpost.php?p=608701&postcount=100
have a great day...
Well thanks for that.
1. I had read that
2. Re-read my post where I say "While the fix above works in that it allows the avatar to show while the welcome block is gone from the VBA page.
It unfortunately removes the avatar from the actual forum itself." Therefore I asaid the fix you quoted does resolve that issue - it removes the avatar from the forum page.
So please consider taking your own advice and read things before posting.
I notice your next post says you experience the same problem .... but you attack me for not reading the fix?
says the file is corrupted i cant download the zip
hi i installed it at www.oh-twadi-sound.cjb.net/forum and well the avatar images dont show up
check it out and see p,s its just a test forum
hi i installed this hack https://vborg.vbsupport.ru/showthread.php?t=66969 at www.oh-twadi-sound.cjb.net/forum and well the avatar images dont show up
for logged in users.check it out and see .no1 helps on the official support thread
p,s its just a test forum
hey as you can see on the attachment the wellcome hack doesnt look right cause of the avatar sizes,i was wondering if any of you no how to make it so it auto resizes the avatars for that particular space?
maybe a modifaction to the wellcome hack?
I notice your next post says you experience the same problem .... but you attack me for not reading the fix?
You took that as an attack? ok, sorry about that never meant to attack you. Just trying to give you some advice... again I apoligize..
Schneck
03-05-2005, 10:29 PM
Can anyone tell me why the counter in the navbar says
Threads: 5141
Posts: 50747
while the "what's up" stats says:
Threads: 4937
Posts: 50734
Another that's giving me some trouble is to get "New threads" in the navbar appearing as a link.
You have to change the navbar template:
<!-- Forum Stats [] Begin -->
<div class='smallfont'><b>Forum Stats:</b><br />Threads: $welcome_topics<br />Posts: $welcome_posts<br />Members: $welcome_members<br /><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
<!-- Forum Stats [] End -->
to this:
<!-- Forum Stats [] Begin -->
<div class='smallfont'><b>Forum Stats:</b><br />Threads: $totalthreads<br />Posts: $totalposts<br />Members: $welcome_members<br /><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
<!-- Forum Stats [] End -->
I almost have this hack working completely with my forums and cmps... but the problem that I have is that when users dont select an avatar the defaul "no avatar image" doest apear.. isntead is a borken image with the path to "http://www.mydomain.com" the link takes you to the profile to change the avatar... but the image is just broken, this happens on the rest of the site, in the front page where the cmps is, everything works great. any ideas on how to fix this?
ok, never mind, is working perfectly now (I dont know how I fixed it)... but now is working flawless with the cmps integrated...
I installed the mod.. works fine. Had some issues with CMPS with avatars and i was able to resolve most myself by editing the gif location except 1.
1. Members will no avatars cannot see any avatar in CMPS homepage - the noavatar.gid shows up only in the forums homepage. To fix this i hard coded the entire path to the noavatar.gif starting from http://myforums.com
but it still doesnt work!!
I tried the following fix.. but it does not work either.
https://vborg.vbsupport.ru/showpost.php?p=608701&postcount=100
2. I would like to moify the navbar template for NON-REGISTERED members
I want to have 3 <TD> tags... 1 for image, 1 for login boxes and 1 for my custom message. (no "forum stats")
How can I achieve that? I was playing with <IF> <else> statement and the template kept screwing on me...
can someone else me with that?
much appreciated and thanks for the mod :up:
I will like to suggest to please update the install instructions with all the fixes - it will help new installers a great deal!
teedizz
04-14-2005, 03:00 AM
I have installed this hack but how do I edit the welcome pm to new users when the register for my forums?
I installed the mod.. works fine. Had some issues with CMPS with avatars and i was able to resolve most myself by editing the gif location except 1.
1. Members with avatars cannot see any avatar in CMPS homepage but they show up on forumshome
2. I would like to moify the navbar template for NON-REGISTERED members
I want to have 3 <TD> tags... 1 for image, 1 for login boxes and 1 for my custom message. (no "forum stats")
How can I achieve that? I was playing with <IF> <else> statement and the template kept screwing on me...
can someone else me with that?
much appreciated and thanks for the mod :up:
I will like to suggest to please update the install instructions with all the fixes - it will help new installers a great deal!
help
weaver
04-18-2005, 02:34 PM
I got the same issua as nathanaus, once I leave the cmps front page my avatars is replaced by "image.php?u=5&dateline=5764864890"
Having the same issue here. I'm also wondering if anyone has modified the hack to auto-resize avatars.
Hi, I am posting my questions again.. hope I get some help this time around..SmasherMaster.
1. Members with avatars cannot see their avatar in CMPS homepage.
2. I would like to moify the navbar template for NON-REGISTERED members
I want to have 3 <TD> tags... 1 for image, 1 for login boxes and 1 for my custom message. (no "forum stats")
How can I achieve that? I was playing with <IF> <else> statement and the template kept messing up..
can someone else me with that?
Brainwrek
04-27-2005, 04:27 AM
Hi, I am posting my questions again.. hope I get some help this time around..SmasherMaster.
1. Members with avatars cannot see their avatar in CMPS homepage.
2. I would like to moify the navbar template for NON-REGISTERED members
I want to have 3 <TD> tags... 1 for image, 1 for login boxes and 1 for my custom message. (no "forum stats")
How can I achieve that? I was playing with <IF> <else> statement and the template kept messing up..
can someone else me with that?VIKS, I would like to know the answer to this as well. I have the *exact* same problem. :ermm:
Actually...one workaround I thought about for #1 is to put the CPMS index page in the forums directory (perhaps portal.php) and then make a permanent redirect from your root index to the CPMS page. It's a little messy and could cause other issues, but it's a thought anyway.....
smacklan
04-28-2005, 12:30 PM
Does anyone have an answer to the avatar issue. I resolved the guest avatar problem on the cmps main page, but my registered users avatar's do not appear and this sucks!! I like the hack but will uninstall if a I can't resolve this!!
Maybe if you were a little more descriptive in your problem, people aren't mind readers.
When you say 'avatars do not appear', do you mean the code is not there in the HTML, the avatar shows up as a little red x, or what?
If it is the latter, what is the path that the page is trying to find an avatar at?
smacklan
04-29-2005, 01:31 PM
Maybe if you were a little more descriptive in your problem, people aren't mind readers.
When you say 'avatars do not appear', do you mean the code is not there in the HTML, the avatar shows up as a little red x, or what?
If it is the latter, what is the path that the page is trying to find an avatar at?
Sorry, thought it was described thoroughly in previous posts. The link appears broken on the cmps page only for the registered user. There is a red x but the path is correct as far as I can tell. Here is the code in the navbar template:
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'adv_index'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<!-- Main Welcome Panel Block [] Begin -->
<td class="alt1" valign="middle" align="center">
<if condition="$bbuserinfo[userid]!=0">
<!-- Avatar Cell [] Begin -->
<if condition="THIS_SCRIPT == 'adv_index'">
<a href="$vboptions[bburl]/profile.php?do=editavatar"><img src="$avatarurl" border="0"></a>
<else />
{$welcome_avatar}
</if>
<!-- Avatar Cell [] End -->
</td>
<td class="alt2" nowrap="nowrap" style="padding:3px">
<!-- Your Stats [] Begin -->
<div class="smallfont"><b>Your Info:</b><br />User: <a href="member.php?{$session['sessionurl']}u={$bbuserinfo['userid']}" title="Go To Your Profile">{$bbuserinfo['username']}</a><br />
<a href="search.php?{$session['sessionurl']}do=getnew">New Posts</a>: {$welcome_new_posts['new_posts']}<br />New Threads: {$welcome_new_topics['new_topics']}<br />
<if condition="$show[pmstats]"><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if></div>
<!-- Your Stats [] End -->
<else />
<!-- Guest [] Begin -->
<!-- Avatar -->
<td class="alt1" valign="middle" align="center">
<a href="register.php?ID=&"><img src="http://strengthinthelord.com/forum/images/avatars/guestavatar.gif" border="0"></a>
</td>
<!-- / Avatar -->
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td class="smallfont">User Name</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" /></td>
</tr>
<tr>
<td class="smallfont">Password</td>
<td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
</tr>
<tr>
<td class="smallfont" colspan="2" nowrap="nowrap">
<label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me?</label>
<input type="submit" class="button" value="Log in" tabindex="4" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" />
</td>
</tr>
</table>
<input type="hidden" name="ID" value="" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
<!-- / login form -->
</td>
<!-- Guest [] End --></if>
</td>
<td class="alt1" valign="top" nowrap="nowrap">
<!-- Forum Stats [] Begin -->
<div class='smallfont'><b>Forum Stats:</b><br />Threads: $welcome_topics<br />Posts: $welcome_posts<br />Members: $welcome_members<br />
<if condition="THIS_SCRIPT == 'adv_index'">
Welcome to our newest member,
<a href="member.php?$session[sessionurl]u=$newuserid">$newusername</a>
<else />
<phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase>
</if></div>
<!-- Forum Stats [] End -->
</td>
<!-- Main Welcome Panel Block [] End -->
</tr>
</table>
<else />
<!-- / Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
As you can see, I pointed straight to the guest image to correct that issue.
Brainwrek
04-30-2005, 03:01 AM
Does anyone have an answer to the avatar issue. I resolved the guest avatar problem on the cmps main page, but my registered users avatar's do not appear and this sucks!! I like the hack but will uninstall if a I can't resolve this!!For whatever reason, the $avatarurl tag is not populating the avatar URL. I'm investigating.......
It seems to me this hack is full of holes. :ermm:
Brainwrek
04-30-2005, 05:38 AM
None of the avatar fixes in this thread are working for me. I think it may have something to with the fact that I'm using 3.0.7 ????? Does anyone have it working with 3.0.7?
carolmyt
04-30-2005, 10:49 PM
I just installed to version 3.0.6, and its working fine except . . . Their are no numbers next to new threads and new posts. Any ideas why not?
Ducky_05
05-21-2005, 09:13 AM
What what the navbar code look like if I wanted the avatar in the middle table?
Clayton
05-21-2005, 10:52 AM
have you guys added the image of the default avatar to the correct folder??
;)
Praet0rian
06-01-2005, 02:59 PM
I got it to work, But the display is messed up. I get this:
http://img204.echo.cx/img204/7540/igetthis9vp.jpg
jancarlo
06-09-2005, 07:50 AM
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index'">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<!-- Main Welcome Panel Block [] Begin -->
<td class="alt2" valign="middle" align="center">
<if condition="$bbuserinfo[userid]!=0">
<!-- Avatar Cell [] Begin -->
{$welcome_avatar}
</td>
<!-- Avatar Cell [] End -->
<td class="alt2" nowrap="nowrap" style="padding:3px">
<!-- Your Stats [] Begin -->
<div class="smallfont"><strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<a href="search.php?{$session['sessionurl']}do=getnew"><br />$vbphrase[new_posts]</a>: {$welcome_new_posts['new_posts']} $vbphrase[new_threads]: {$welcome_new_topics['new_topics']}
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if><br />
<!-- Your Stats [] End -->
<else />
<!-- Guest [] Begin -->
<!-- Avatar -->
<td class="alt2" valign="middle" align="center">
<a href="register.php?ID=&"><img src="images/avatars/guestavatar.gif" border="0"></a>
</td>
<!-- / Avatar -->
<td class="alt2" nowrap="nowrap" style="padding:0px">
<!-- login form -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_ login_md5password_utf)">
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont">$vbphrase[username]</td>
<td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="16" accesskey="u" tabindex="1" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont">$vbphrase[password]</td>
<td><input type="password" class="button" name="vb_login_password" size="16" accesskey="p" tabindex="2" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="4" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
<tr>
</table>
<input type="hidden" name="ID" value="" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="forceredirect" value="1" />
<input type="hidden" name="vb_login_md5password" />
</form>
</td>
<!-- / login form -->
<!-- Guest [] End --></if>
</td>
<td class="alt2" nowrap="nowrap" style="padding:3px">
<!-- Forum Stats [] Begin -->
<div class='smallfont'><phrase 1="$vboptions[bbtitle]"><b>$vbphrase[x_statistics]</b></phrase></div>
<div class='smallfont'>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
<div class='smallfont'><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
<div class='smallfont'><a href="online.php?$session[sessionurl]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)</div>
</td>
<!-- Forum Stats [] End -->
<!-- Main Welcome Panel Block [] End -->
</tr>
</table>
<else />
<!-- / Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
For who it uses more languages has put the vbprhase and something more ;)
I ask like is made to remove the line to six of the guest avatar? Thanks
hello
jancarlo
ps: pardon... you must add this new phrase: "$vbphrase[new_threads]"
midnightz
06-17-2005, 03:35 AM
Overlooked but important!
The bottom vb stats have a " , " included to break large numbers example
1,258 or 78,524 etc...
Please see attached images. Is there a fix for this with the welcome panel?
Thanks
SmasherMaster
06-19-2005, 11:22 PM
I HAVE RISEN FROM THE DEAD! Jeez, alot of new replies, for sure. A recent complaint brought to my attention over MSN, showed me that in this part:
Open Template 'NAVBAR'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Find:
+++++++++++++++++++++++++++++++++++++++++++++
<!-- breadcrumb, login, pm info -->
+++++++++++++++++++++++++++++++++++++++++++++
Add BELOW:
+++++++++++++++++++++++++++++++++++++++++++++
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index'">
KILL that <if> line, unless you have VBadvanced.
Midnightz: Yes, do this change.
Replace
<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
With
<div>$vbphrase[threads]: $totalthreads $vbphrase[posts]: $totalposts $vbphrase[members]: $numbermembers</div>
As for everyone else, looks like you've found a ton of problems, if everyone could post after this one with what their problem is along with a more descriptive or even link to their forum i'd try to give it a spin.
EDIT: I'm not sure about this, with me not using vB anymore and having a very outdated version, maybe 3.0.7 somehow screws up the hack, i'm not sure.
midnightz
06-20-2005, 04:51 PM
Midnightz: Yes, do this change.
Replace
<div>$vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers</div>
With
<div>$vbphrase[threads]: $totalthreads $vbphrase[posts]: $totalposts $vbphrase[members]: $numbermembers</div>
Hi, Welcome back!
That did not work for me as the commas are still not present and showing.
another idea?
Thnaks
SmasherMaster
06-22-2005, 12:12 PM
Check the phrases $totalthreads and such and see if there are any commas present at the end of the phrases.
midnightz
06-23-2005, 04:11 PM
Check the phrases $totalthreads and such and see if there are any commas present at the end of the phrases.
Double and triple checked, even with and without the commas, no luck.
SmasherMaster
06-24-2005, 11:40 PM
Then I have absolutely NO idea on what'a causing it. You sure you made the change I stated above?
midnightz
06-24-2005, 11:52 PM
Sorry, forgot to update, I have a very very tricked out board and hunted down what is was :)
Thanks
SmasherMaster
06-25-2005, 12:14 PM
Ah lmao, great to see that it worked. :D
yoyoyoyo
06-26-2005, 02:07 PM
I am having some problems. I followed the instructions and when I hit Save for the Navbar edit, it says: The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mikeydef/public_html/forums/includes/adminfunctions_template.php(3055) : eval()'d code on line 118
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
I had same error and clicked continue anyway and it seems to work just fine.
I did the same thing and got the same error and clicked continue as suggested and got the following error displayed at the top of the index page:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/site/public_html/forum/index.php(486) : eval()'d code on line 109
I HAVE RISEN FROM THE DEAD! Jeez, alot of new replies, for sure. A recent complaint brought to my attention over MSN, showed me that in this part:
Open Template 'NAVBAR'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Find:
+++++++++++++++++++++++++++++++++++++++++++++
<!-- breadcrumb, login, pm info -->
+++++++++++++++++++++++++++++++++++++++++++++
Add BELOW:
+++++++++++++++++++++++++++++++++++++++++++++
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
<if condition="THIS_SCRIPT == 'index'">
KILL that <if> line, unless you have VBadvanced.
The only way I can get this hack to work is to remove the line:
<if condition="THIS_SCRIPT == 'index'">
as you suggested but then the welcome panel appears at the top of each page, not just the forum home.
Also the statistics seem to be incorrect, as well (ie: they do not match the numbers at the bottom of the page or in the vbstatistics hack area)
JTMON
07-08-2005, 11:58 PM
well I have tried this out as well. I did have it so the cpms page DIDn't have an avatar but the stats were there, then in trying the fixse in this thread, I somehow got them to dissapear only on the cpms page. Now I have it so almost everything works except the logged in user's avatar on cpms for just the reason Smasher said, the avatarurl variable isn't being populated...
I had the welcome block on when I installed and it still didn't show, tried turning it off, no luck, back on, no luck....UGGGHHH I want this badly
one other thing, even when I turn on the welcome block where there is an avatar...THAT avatar that also uses avataurl works, but the value isn't getting to the welcome block.
JTMON
07-09-2005, 04:18 PM
For whatever reason, the $avatarurl tag is not populating the avatar URL. I'm investigating.......
It seems to me this hack is full of holes. :ermm:
Yes so now how is it possible that the $avatarurl gets populated for the vbadvanced welcome panel on the same page but not that one. Doesn't global.php do that?
Also, did anyone figure out why stats disappeared on the vbadvanced page only? When I first installed it they worked then while I was tweaking the template they vanished, I tried reverting and readding the template code but they still stay gone.
Corvette
07-11-2005, 12:30 PM
Great mod, but when I applied the removal part, the posts and thread info stayed but the amount of users online dissapeared!
I want that to be on the panel instead of the posts info. How would you do that? We are a small board so barely anyone comes except for admins so that could work, the theme I use is not fixed width (it's custom!).
crash resistant
07-13-2005, 03:02 AM
wooow
I can't get avatars to work at all. I've read through this whole bloody thread. I can't believe that in all the VB world, there isn't a stable independent welcome panel. wooowww
I'll reply much more POed soon, when I do some more sad attempts at getting this to work.
crash resistant
07-13-2005, 12:25 PM
hey fellas.
yes. after much anger, I got mine to work.
I used another hack. Because I'm smart and desperate.
use this to get avatars working:
https://vborg.vbsupport.ru/showthread.php?t=83237&highlight=avatar
(show avatar anywhere hack)
be sure to get rid of any of these cheesy welcome panel $welcome_avatar variables that might be lying around in your template or global.php.
and the rest of the fixes can be resolved with full url paths, and listing the variables in the cmps settings. ;)
any questions just pm or email me. ill be glad to help.
edit: ps: This entire post only applies to users of the CMPS.
JTMON
07-15-2005, 04:43 AM
hey fellas.
yes. after much anger, I got mine to work.
I used another hack. Because I'm smart and desperate.
use this to get avatars working:
https://vborg.vbsupport.ru/showthread.php?t=83237&highlight=avatar
(show avatar anywhere hack)
be sure to get rid of any of these cheesy welcome panel $welcome_avatar variables that might be lying around in your template or global.php.
and the rest of the fixes can be resolved with full url paths, and listing the variables in the cmps settings. ;)
any questions just pm or email me. ill be glad to help.
edit: ps: This entire post only applies to users of the CMPS.
Thanks for the scoop, finally fixed the issue with your info!!
Sleepyk
07-31-2005, 10:15 PM
anyone know if this works with 3.0.8?
sketch42
08-04-2005, 05:48 AM
/me clicks instal
wonderful hack works on 3.0.7 :classic:
khaleel
08-16-2005, 04:29 PM
I tried getting it to work for 3.5 and go this error
Database error in vBulletin 3.5.0 Release Candidate 2:
Invalid SQL:
SELECT user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(filedata) AS hascustom, customavatar.dateline,
customavatar.width, customavatar.height
FROM khilafahboard_vbuser AS user
LEFT JOIN khilafahboard_vbavatar AS avatar ON avatar.avatarid = user.avatarid
LEFT JOIN khilafahboard_vbcustomavatar AS customavatar ON customavatar.userid = user.userid
WHERE user.userid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
Error Number : 1064
Date : Tuesday, August 16th 2005 @ 10:25:42 AM
Script : http://www.lodhiz.com/index.khilafah?
Referrer : http://www.lodhiz.com/admincp/index.khilafah?do=head
IP Address : 81.152.207.224
Username : kaz
Classname : vb_database
I tried getting it to work for 3.5 and go this error
2 khaleel, this hack is not compatible with 3.5
Try another one [vB 3.5.0 RC2] Welcome Panel v1.0 (https://vborg.vbsupport.ru/showthread.php?t=83124)
Christie
08-21-2005, 07:17 PM
We are using the Welcome Panel Hack on vb 3.03 and have been getting questions from a few members that when they come onto the forum the "new posts" are showing for example 500 new posts, yet when they click on "view new post" it's telling them there are none, when there are actually new posts to be read.
Has anyone else experienced this? and is it a fault with the users own settings or the Welcome Panel. Most people aren't having any problems at all viewing new posts. It's too good a feature to lose, so I intend to keep the hack, but am interested to hear if anyone else has problems.
NxTek
08-23-2005, 03:57 PM
In the install doc it mentions -
Open 'Includes/vba_cmps_include_bottom.php'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Find global $vboptions, $vba_options, $vbphrase, $stylevar, $bbuserinfo, $show, $pmbox,;
+++++++++++++++++++++++++++++++++++++++++++++
REPLACE WITH: global $vboptions, $vba_options, $vbphrase, $stylevar, $bbuserinfo, $show, $pmbox, $welcome_avatar, $welcome_newposts, $welcome_time, $welcome_pms, $welcome_posts, $welcome_topics, $welcome_members, $total_topics, $total_posts, $total_members, $welcome_new_topics, $welcome_new_posts, $avatarurl, $newusername, $newuserid;
That is not found in vBa 2.0. The closest thing isglobal $pages, $stylevar, $headinclude, $header, $footer, $vboptions, $vbphrase, $bbuserinfo, $stylevar, $show, $pmbox, $vba_options, $vba_style, $navbar, $cusid, $_REQUEST, $gobutton, $pagetitle, $pagecache, $permissions, $DB_site;
Dactyld
08-29-2005, 01:40 AM
Anyone know what to change in block_navbar template to work with vbPortal? I got the hack working in 3.0.8 but not with vbPortal. Thanks
ed2k_2
09-02-2005, 08:47 PM
In the install doc it mentions -
That is not found in vBa 2.0. The closest thing is
Having the same problem as NxTek.
I couldn't find the global $vboptions, $vba_options, $vbphrase, $stylevar, $bbuserinfo, $show, $pmbox,; in the vbs_cmps_include_bottom.php
Please advice a remedy... thank you in advance.
bspiller82
10-29-2005, 10:34 AM
There going to be an update for 3.5 anytime soon?
ambumann
10-30-2005, 08:01 AM
Also waiting for the 3.5 upgrade!
brvheart
11-10-2005, 01:35 PM
How can I make the the new post not count as new threads? 3.0.7 btw :)
Great hack btw....clicks install
Scooterpig
12-20-2005, 10:14 PM
How can I make the the new post not count as new threads? 3.0.7 btw :)
Great hack btw....clicks install
Also curious if this will be coming over to 3.5.x???..:)
G-Unot
01-09-2006, 07:33 PM
I have installed it works perfectly but the no avatar image won't show =/
SmasherMaster
01-22-2006, 12:40 AM
I have returned from my very long hiatus. I will still support this one, but only for a short while, and not as much as my new one (https://vborg.vbsupport.ru/showthread.php?t=105958), which has upgraded to 3.5.x!
G-Unot: try removing the front / from this snippet of code in global.php:
$bbuserinfo['user_avatar']="<img src='/images/avatars/noavatar.gif' alt='Edit Your Avatar' border='0'>";
so it looks like this:
$bbuserinfo['user_avatar']="<img src='images/avatars/noavatar.gif' alt='Edit Your Avatar' border='0'>";
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.