![]() |
Quote:
|
woops - sorry
|
Very nice! I love this hack!
|
Quote:
|
installed nice hack thank you!
|
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?
|
Anybody??
|
Can you force the avatar profile to be fixed at a certain dimension. The template starts looking ugly with the larger avatars
|
i installed, then uninstalled... kinda cluttered looking...
nice work, though... |
Looks great!!
Any ideas on how to add this to the CMPS only?? |
Quote:
|
You got 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...
|
Thanks...
/me is wating impatiently. |
I may have found something.
In /forumroot/global.php find this PHP Code:
Edit: Sorry that probably wouldn't work, put in your full forum URL, including site before the profile, like: "http://www.yourskite.com/forums/" |
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/ |
Try this:
in /forumroot/global.php find PHP Code:
Code:
<img src=' Code:
{$bbuserinfo['user_avatar']} |
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.
|
Yeah, here's the fix.
find in your navbar template PHP Code:
Code:
<img src="images/avatars/guestavatar.gif" border="0"> Code:
<img src="www.mysite.com/forums/images/avatars/guestavatar.gif" border="0"> |
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. :(
|
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.
|
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.
|
I finally got it. I had to instert the full path url where the avatar was orginally placed with the skin, which was
Code:
forums/images/skin_name/mics/guestavatar.gif |
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
|
the count is messing up and sense i installed it people cannot post
well they do but appears invisible and cant be seen |
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. |
|
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.
|
[high]* Clb clicks install :)
[/high] 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
|
Quote:
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: Code:
$bbuserinfo['user_avatar']="<img src='/images/avatars/noavatar.gif' alt='Edit Your Avatar' border='0'>"; Code:
$bbuserinfo['user_avatar']="<img src='images/avatars/noavatar.gif' alt='Edit Your Avatar' border='0'>"; 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? |
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. |
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 |
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: Code:
<!-- breadcrumb, login, pm info --> Code:
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster --> Code:
<!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster --> Myth |
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? |
Sen try to edit template of navbar and save. Simple to recharge the new template...
|
So is this hack working ok for 3.0.3 ppl?
:) |
Quote:
|
All times are GMT. The time now is 02:32 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:
|