View Full Version : Welcome Panel v1.0
Zero Tolerance
06-14-2005, 10:00 PM
Yup, a welcome panel, very generic :p
Just look at the preview if you want to see a working example, do note that nothing is displayed for guests.
For those concerned about queries, it does add 5, however the run time on these queries are on the average server below 0.01 seconds, for me they all execute at 0.001xx seconds - so it shouldn't effect performance too a degree you'd notice.
Alternate Version Download: here (https://vborg.vbsupport.ru/attachment.php?attachmentid=27111)
Information for alternate version: here (https://vborg.vbsupport.ru/showpost.php?p=666898&postcount=9)
Thanks to: hellsatan (https://vborg.vbsupport.ru/member.php?u=4197)
Enjoy,
- Zero Tolerance
Chris M
06-15-2005, 07:08 AM
Why do we really need a Welcome Panel though ;)
Now that we have a navbar in > vB3 it kind of defeats the idea :p
Still - In the spirit of installation madness, I've installed it :p
Satan
Chris M
06-15-2005, 07:10 AM
Oh...
Btw:
Ensure to upload "noavatar.gif" to your forums doot directory, you're free to use any picture of your own liking.
Whats my forums doot directory?:p
Satan
fraghappy
06-15-2005, 07:14 AM
Looks good, ZT. You always do a good job.
I'm nit-picky about this kind of stuff, but shouldn't "Your most active in" read "You're most active in"?
EDIT - Also:
"Welcome Back {username}" -> "Welcome Back, {username}"
"there has been {x} posts...} -> "there have been {x} posts "
Sorry. I'm a grammar nerd.
Zero Tolerance
06-15-2005, 07:23 AM
Bare with me, havn't slept for .. a long time - i'll get those grammer issue's sorted.
Edit: Updated, sorry for that.
And hellsatan - I don't know to be honest, but they do look funky =P
- Zero Tolerance
Chris M
06-15-2005, 07:26 AM
Would you mind if I posted another .zip file for those of us already using the "Get new threads and posts" plugin?
It would contain a slightly altered .xml file and template ;)
And it would save people two queries...
I've also attached the traditional "No Avatar" image from the vB2 Welcome Panel hack :D:D
Satan
Zero Tolerance
06-15-2005, 07:28 AM
Would you mind if I posted another .zip file for those of us already using the "Get new threads and posts" plugin?
It would contain a slightly altered .xml file and template ;)
And it would save people two queries...
I've also attached the traditional "No Avatar" image from the vB2 Welcome Panel hack :D:D
Satan
Feel free hellsatan, i'll include it in the main post once you do :)
- Zero Tolerance
Chris M
06-15-2005, 07:28 AM
Ok - Let me clean up my template and code a bit :p
Satan
Chris M
06-15-2005, 07:47 AM
Ok - In this .zip there are three enhancements I have made, but you need not do them if you want...
NOTE: The following enhancements have already been made to the plugin and template attached in the .zip file in this post...
The first, is for those of us already using the "Get new threads and posts" plugin - I couldn't be bothered to edit the templates and remove it, so I saved myself two queries with this mod :p
The second is to alter the "Last visit" text:
Find in your template:
since your last visit at {$bbuserinfo['lastvisit']}<br />
Replace with:
since your last visit $pmbox[lastvisitdate] at $pmbox[lastvisittime]<br />
This, if you use detailed or yesterday/today time formats, will put "since your last visit Yesterday at 09:11 PM", for example, as opposed to "since your last visit 14-06-2005 at 09:11 PM"
Then you need to remove the following line from your plugin code:
$vbulletin->userinfo['lastvisit'] = vbdate($vbulletin->options['timeformat'], $vbulletin->userinfo['lastvisit']) . ', ' . vbdate($vbulletin->options['dateformat'], $vbulletin->userinfo['lastvisit']);
The third enhancement is merely a template one - Just adding a bit of text and a variable for "Active members" :p
I think you can probably figure that one out for yourselves though ;)
So here you go :)
Satan
Zero Tolerance
06-15-2005, 07:49 AM
First post updated - thanks :)
- Zero Tolerance
Chris M
06-15-2005, 07:54 AM
Your welcome :)
Now - Back to watching out the window for the delivery man with my phone I've been waiting a week for >_<
Satan
Flexo
06-17-2005, 09:59 PM
Is it possible to use the right frame for private messaging info?
ThorstenA
06-18-2005, 07:16 AM
Very nice!!
There's a small bug ...
662 (1.570,66% of forums total posts) :D
feldon23
06-18-2005, 08:09 PM
I love Welcome Boxes.
jesus likes pie
06-18-2005, 09:28 PM
I love Welcome Boxes.
wow....a lot of members....
* jesus likes pie daydreams
dreck
06-20-2005, 05:38 AM
Not sure if I had these before I upgraded to beta2?
Welcome back dreck, there have been posts and threads since your last visit Today at 06:27 AMThe posts & threads aren't working.
I installed the Alternate Version.
Chris M
06-20-2005, 11:17 AM
By that, do you mean you only installed the Alternate version, or you had to install that to get it working...
If you only installed the Alternate version, you will need to re-install the "New Posts & Threads Since Last Visit" plugin by Zachery (https://vborg.vbsupport.ru/member.php?u=18025), found here (https://vborg.vbsupport.ru/showthread.php?t=82774)
Satan
mangacars
06-20-2005, 02:31 PM
thanks worked perfect
dreck
06-21-2005, 04:06 AM
I installed Alternate version only!
I will checkout Zachery's post.
Thanks!
Nice, but I also seem to have a bit of a percentage problem..
Your total forum posts: 3,230 (0.01% of forums total posts)
We have total: 20,380-ish.
dreck
06-27-2005, 11:51 PM
Upgraded to beta3 with little problems.
Members: 1,348 ? Active Members: 0 ? Threads: 1,017 ? Posts: 3,759Active members is not working, I think it was working before upgrade?
Beermonster
07-01-2005, 05:42 AM
one of my members was saying that it said there was 24 posts in the last 24 hours yet he couldn't find them, there had been but was in a private forum he doesn't have access to, can it be changed so a usergroup on knows how many posts have been posted that is relivent to them?
FleaBag
07-31-2005, 09:21 PM
I'm using the alternate version [hellsatan].
The percentage of posts and average posts per day are showing as zero to me. It may be a server issue, amykhar made a fix in the below thread for your similar hack - maybe this is of some use to you... It was to do with the way php handles the maths, and how slighlty different queries are required to function correctly on all servers.
https://vborg.vbsupport.ru/showthread.php?t=83001
I also request, if what Beermonster says is true, that permissions support be added. Although I suspect this may be an RC1 issue, as I've had some post counting problems myself.
Yeah, the percentages are out of whack for me, all show as 0.01 for me, but show ok to people with under 100 posts.
*edit* 100. Not 00.
Biker_GA
08-01-2005, 02:28 PM
Is there a way to get the text in the box to be the same size as what's showing on Forum Home?
Blam Forumz
08-09-2005, 02:27 PM
I have a little problem, all of my members are getting this:
Your total forum posts: blah blah (0.01% of forums total posts)
no matter what ammount it is, they're getting 0.01%
FleaBag
08-09-2005, 09:59 PM
The error and means to fix have been posted above for ZT to look into.
The font doesn't match the rest of the forum. Nice but not friendly.
Sleepyk
08-17-2005, 01:43 AM
this working on rc2?
Zero Tolerance
08-17-2005, 01:42 PM
Zip updated, bugs fixed and works flawlessy with RC2 :)
- Zero Tolerance
Sleepyk
08-17-2005, 08:08 PM
good work
FleaBag
08-22-2005, 08:37 PM
Hey nice going ZT, been awaiting this one being updated. :)
Skyline_GT
08-23-2005, 09:25 AM
After I add this mod.. the forumhome is loading super slow..
Staircase
08-27-2005, 01:57 AM
When I import the XML file, it says 'Invalid File Specified'. What's wrong! I REALLY WANT THIS HACK LOL.
kwopper
08-27-2005, 02:00 AM
When I import the XML file, it says 'Invalid File Specified'. What's wrong! I REALLY WANT THIS HACK LOL.
import via plugins not product
Staircase
08-27-2005, 02:01 AM
Oh well it works now...
ShadowOne
08-29-2005, 06:23 PM
Importing Product, Please Wait...
[:]
vBulletin Message
Invalid File Specified
This seems to happen alot to me...I mean its hard to mess up on importing a file like that so...Anybody know?
Kurisu
09-03-2005, 03:14 PM
Can you modify this so it takes usergroup permissins into account?
If there are new posts in a private forum, it still shows up "there a X new posts" to users who don't have access to that forum. This is quite annoying for members if a lot of posts are made in the admin forum ;)
Wordplay
09-10-2005, 08:29 PM
This seems to happen alot to me...I mean its hard to mess up on importing a file like that so...Anybody know?
you have to make sure it's a plug-in not a product. mixing those up you'll usually get that kind of an error.
slank
09-12-2005, 03:35 AM
woohoo...installing now
Dark Riku
09-12-2005, 03:37 PM
nevermind =)
DeviousDEA
09-12-2005, 10:12 PM
Is there a way to resize the signature shown in this welcome panel, would appreciate it alot :)
Dark Riku
09-12-2005, 10:16 PM
do you mean the avatar?
Makaveli105
09-13-2005, 04:10 AM
can i ask what i need to change so its by default collapsed:S? if this is possible
Zelda-King
09-13-2005, 05:24 AM
2nd best welcome panel I've seen (first being back on vB2). Well done! I have the font in size 1 myself...
DeviousDEA
09-13-2005, 09:07 AM
do you mean the avatar?
Ah yes lol.
Any idea?
DeviousDEA
09-13-2005, 10:31 PM
*bump*
Anyone has a code to resize the avatar shown in this hack?
jesus likes pie
09-16-2005, 12:19 AM
It's not working for some reason...
cnutter
09-26-2005, 11:41 PM
Not a bad plugin but I had to uninstall it cause it was hanging up my site load. Not sure what was happing but it was causing it to not load for 3 to 10 seconds. And as soon as I removed the plugin my site now loads fine. Anyway, keep up the good work and if this gets worked out I will install it again.
Btw I am using RC3....
dbembibre
09-27-2005, 06:25 AM
Yes this hacks add 5 extra queries for my site with 300 users online only increase 500 miliseconds
dbembibre
09-27-2005, 08:15 AM
Not a bad plugin but I had to uninstall it cause it was hanging up my site load. Not sure what was happing but it was causing it to not load for 3 to 10 seconds. And as soon as I removed the plugin my site now loads fine. Anyway, keep up the good work and if this gets worked out I will install it again.
I attach a pic of my panel.
Excuse my broken English
Btw I am using RC3....
If you want i have a very lite version of this hack, i removed all the queries and only add 1 query for template. No aditional load in your forum. No is very pretty but work. Is the same code of Zero but with global forum variables.
Im Spanish, you need translate the template, the second row table in template show a flash banner.
forumhome_welcome_panel
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_welcomepanel')"><img id="collapseimg_forumhome_welcomepanel" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_panel].gif" alt="" border="0" /></a>
Bienvenido de nuevo <a href='member.php?{$session[sessionurl]}u={$bbuserinfo['userid']}'>{$bbuserinfo['username']}</a>
</td>
</tr>
<tbody id="collapseobj_forumhome_welcomepanel" style="$vbcollapse[collapseobj_forumhome_welcomepanel]">
<tr>
<td class="alt1" align="center" width="1%">
<a href="profile.php?{$session[sessionurl]}do=editavatar">{$bbuserinfo['avatar_build']}</a>
</td>
<td width="50%" class="alt2" align="$stylevar[left]" valign="top">
<div class="smallfont">Bienvenido de nuevo {$bbuserinfo['username']}, hay un total de <b>{$totalonline }</b> Usuarios On-line desde tu ?ltima visita $pmbox[lastvisitdate] a las $pmbox[lastvisittime]<br /></div>
<table width='80%' cellspacing='0' cellpadding='2' border='0' align='center'>
<tr>
<td width="50%" align="$stylevar[left]"><div class="smallfont"><a href="http://www.bmwfaq.com/search.php"><b>Buscar</b> Mensajes</a></div></td>
<td width="50%" align="$stylevar[right]"><div class="smallfont"><b>{$bbuserinfo['pmunread']}</b> Mensajes privados sin leer</div></td>
</tr>
</table>
<br><br>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div align="center" class="smallfont"><a href="search.php?{$session[sessionurl]}do=getnew">Ver nuevos Posts</a> ? <a href="search.php?{$session[sessionurl]}do=getdaily">Ver Posts Ult. 24 Horas</a> ? <a href="profile.php?{$session[sessionurl]}do=editprofile">Editar Perfil</div>
</td>
<td width="50%" class="alt2" align="$stylevar[left]" valign="top">
<A HREF="http://www.bmwfaq.com/club1.php">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="390" HEIGHT="68" id="ng_nav" >
<param name="movie" value="./Join.swf">
<param name="quality" value="high">
</object></A>
<div class="smallfont">
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div align="center" class="smallfont">Miembros: <b>{$numbermembers}</b> ? Discusiones: <b>{$totalthreads}</b> ? Mensajes: <b>{$totalposts}</b></div>
</td>
</tr>
</tbody>
</table>
<br />
Plugin code
if ($vbulletin->userinfo['userid'] > 0)
{
require_once(DIR . '/includes/functions_user.php');
$vbulletin->userinfo['avatar_build'] = fetch_avatar_url($vbulletin->userinfo['userid']);
if (empty($vbulletin->userinfo['avatar_build']) || !is_array($vbulletin->userinfo['avatar_build']))
{
$vbulletin->userinfo['avatar_build'] = array('noavatar.gif');
}
$vbulletin->userinfo['avatar_build'] = '<img src="' . $vbulletin->userinfo['avatar_build'][0] . '"'.iif($vbulletin->userinfo['avatar_build'][1],$vbulletin->userinfo['avatar_build'][1],'').'border="0" width="80" height="80" alt="Edit Your Avatar" />';
$active = array(0);
if (!empty($active[1]))
{
$vbulletin->userinfo['active'] = array($vbulletin->forumcache[$active[1]], $active[0]);
}
else
{
$vbulletin->userinfo['active'] = false;
}
$exec_totalposts = str_replace(',', '', $totalposts);
if ($exec_totalposts < 1)
{
$exec_totalposts = 1;
}
if ($jointime < 1)
{
$vbulletin->userinfo['postsperday'] = $vbulletin->userinfo['posts'];
}
else
{
$vbulletin->userinfo['postsperday'] = vb_number_format($vbulletin->userinfo['posts'] / $jointime, 2);
}
$vbulletin->templatecache['FORUMHOME'] = str_replace('$navbar','$navbar ' . $vbulletin->templatecache[forumhome_welcomepanel],$vbulletin->templatecache['FORUMHOME']);
}
Andreas
09-27-2005, 07:26 PM
Slight optimization suggest:
Hook fetch_userinfo_query
if (!$vbulletin->userinfo AND !($option & 2))
{
$option += 2;
}
This way, you can get rid of fetch_avatar_url() which causes an additional query.
dbembibre
09-27-2005, 08:04 PM
Slight optimization suggest:
Hook fetch_userinfo_query
if (!$vbulletin->userinfo AND !($option & 2))
{
$option += 2;
}
This way, you can get rid of fetch_avatar_url() which causes an additional query.
you refer to this, right ?
if (!$vbulletin->userinfo AND !($option & 2))
{
$option += 2;
}else
{
$vbulletin->userinfo['avatar_build'] = fetch_avatar_url($vbulletin->userinfo['userid']);
}
loonytune15
10-04-2005, 02:59 PM
does this work in vb3.5 gold and which is the better version?
dreck
10-04-2005, 07:11 PM
does this work in vb3.5 gold and which is the better version?Yes, I upgraded to GOLD with no problems.
monstergamer
10-16-2005, 08:51 PM
Yes, I upgraded to GOLD with no problems.
does not work for me..did every thing by the book and nothing..will it work for gold?
Simms
10-21-2005, 03:33 PM
I have this running on 3.5 Gold with no problems.
That said, I have a (hopefully) minor request. I'm using this to replace the "Number of Threads and Posts Since Your Last Visit" hack for 3.0.x. In that one, there was a small mod one could make to the code where it counted the number of posts *in* x threads. So instead of seeing "There have been 10 new posts and 0 new threads..." you would see "There have been 10 new posts in 4 threads..."
Is there any way this extension could be tweaked to accomplish that? Not that this doesn't work fine, but my users were used to the old way, and to be honest, I prefer it myself. :)
If not, no big deal, but it can't hurt to ask, right?
Code Monkey
10-21-2005, 04:29 PM
Will this work on vbAdvanced?
Swindont
10-22-2005, 02:54 PM
thanks alot! :D
lairnoc
10-22-2005, 03:40 PM
i love is it possible to ad rep power or rep level there also?
Anyway to show the number of uShop points in there?
Flow Fusion
10-27-2005, 04:01 PM
Great hack. Any update on possible removing the avatar all together?
GrendelKhan{TSU
10-29-2005, 09:56 AM
anyone know how to make this hook into the forumhome instead of being attached to the $navbar?
mikehawk
11-09-2005, 07:19 PM
How do I make the text smaller in the welcome panel? :ermm:
mikehawk
11-09-2005, 07:54 PM
How do I make the text smaller in the welcome panel? :ermm:
???? Pleaseeeeeee. :rolleyes:
mikehawk
11-11-2005, 09:25 PM
Nevermind all, I got it. :rolleyes:
divided_by_fear
11-12-2005, 12:40 PM
any one test this on vbAdvanced?
King Kovifor
11-12-2005, 11:25 PM
Ah redo! Installed though, I like it.
divided_by_fear
11-14-2005, 04:35 PM
anyone?
optrex
11-14-2005, 05:59 PM
excuse me for being a noob, but what hook do I use ?
optrex
11-15-2005, 04:10 PM
its ok I got it
sassyparties
11-16-2005, 11:14 AM
I am having the same issue with forum permissions. I have a user who has posted on a board that she no longer has access to. How can I fix it?
Smartin
11-22-2005, 11:12 PM
I have completed the instructions....and I see no change in the forum main page. Do I have to modify the forumhome template?
optrex
11-23-2005, 04:59 AM
It tells you to in the html instructions you download
gameslover
11-24-2005, 08:55 AM
Hello,
I have a little problem with that hack and vb 3.5.1. All is working expect the % and the posts per day. The first is always showing 20% and the second 0.00. Other values are ok !!
Is there a way to fix that ?
Thanks.
Is there a way for this just to show as im getting welcome panel plus 2 welcome headings on my forum
Screenshot http://img402.imageshack.us/img402/4332/screeny8cz.jpg
How do i get it just to show the welcome panel hack instead of the 2 headings
Site: http://gamezmania.com/index.php
Any help much appreciated.
Same question. I don't want 2 panels displaing at ones. How to disable original one???
Chadi
11-30-2005, 02:16 PM
Currently using
https://vborg.vbsupport.ru/show...24&page=3&pp=15
Would rather have
https://vborg.vbsupport.ru/showthread.php?t=60451
but thats 3.0x version. Anyone modify / update it for 3.51?
Add also:
New Users Registered Today: 7
Total Online Members
Devil Woman
12-03-2005, 10:57 PM
Will this be re-wrote for vb 3.5.1 please
Thanks
puertoblack2003
12-03-2005, 11:06 PM
Will this be re-wrote for vb 3.5.1 please
Thanks
i'm currently using it for 3.5.1 have no problems
http://img526.imageshack.us/img526/6104/welcome3tm.gif (http://www.puertotech.com)
lanc3lot
12-04-2005, 07:57 PM
A Question / Bug :
When a user see the panel, and lets say the forum has some Private Forums, it displays there also for the simple users, that for example there has been 5 news posts. But if he clicks there and the posts have been done in the private forums, he doesnt see anything..
So my main question or request is if we can exclude Private Forums from this counter there or even "show" them only to ppl that have access to these forums and the others see another number
Hope u understand what i mean :)
Also
Is there anyway, we can make some special icons to be shown instead of the text links that are on the panel, i mean the "view new posts", "view posts in the last 24 hours" and "edit your profile" ?
Please if so, provide me a code so i can know what to do :)
Prince
12-09-2005, 05:22 PM
installed!
porschinho
12-10-2005, 09:34 PM
nice hack, but it causes a lot of serverload and a slower loadtime on forumhome...
we have about 200.000 posts and i think, that the new posts search is causing that...
Prince
12-10-2005, 11:27 PM
nice hack, but it causes a lot of serverload and a slower loadtime on forumhome...
we have about 200.000 posts and i think, that the new posts search is causing that...
yup, I disabled the plugin and watched my server load drop in half in about 2 minutes.
mkdevo
12-17-2005, 04:49 PM
is there a way to decrease all font sizes in the welcome panel?
also, 'Your most active in' should be 'You're most active in'.
MSheraz86
12-17-2005, 08:48 PM
is there a way to decrease all font sizes in the welcome panel?
also, 'Your most active in' should be 'You're most active in'.
The You're Most Active in is very easy to fix, though I guess ZT should re-edit that small grammatical error :P. Not a big deal anyways.
Thanks for this nice welcome board, great work!! though I cannot figure out why all the welcome panels in the previous posts look awesome and why the later ones posted (including mine) look very less like the one posted by ZT :(.
apfparadise
12-18-2005, 05:51 PM
I installed it and love it, on my new 3.5 board upgrade, but I have a question I am shocked nobody has asked.
Where it says : 1 Unread Private Messages, shouldn't that be a link to the Inbox? I wish I knew how to do it. I think that is a very important change. I took out the "pm" part out of the "breadcrumbs" on top, so not to be repetitive, but now my users have to manually go into profile and change it. Can someone please help?
Mathiau
12-23-2005, 01:49 AM
confirmed 3.5.2 working yes ?
MSheraz86
12-23-2005, 04:43 PM
confirmed 3.5.2 working yes ?
Yes my board is vB 3.5.2 and its working PERFECTLY!! You just may have to tweak it a little if it comes up different then the ones posted here but it's all great! No errors whatsoever (unless u install it wrong) :p
XFSImperial
12-23-2005, 07:32 PM
Doesn't look quite so amazing when you've got huge avatar...I blame myself. Good mod!
*Install*
MSheraz86
12-23-2005, 08:35 PM
^^ Works fine for me >: D lol
bashy
12-23-2005, 09:16 PM
Hi
Installed...looked a right mess, uninstalled...
was worth a try lol
Bashy
S@NL - BlackBik
12-26-2005, 10:00 AM
Installed and works great, for English language that is....
In Dutch we separate thousands with a dot instead of a comma, ie 1.000 instead of 1,000.
That was no problem, I changed the str_replace from comma to dot.
But we also have some users that browse in the English language. For them the postpercentage and posts per day don't give the right results now.
Is there anyway to replace the str_replace to an other php command that replaces the . AND the , with a space? I can't get it to work, but i'm a total php n00b...
Thanks in advance for your suggestions.
AquilaEagle
12-27-2005, 09:46 PM
got it thanks :)
vishalsachar
12-28-2005, 09:34 AM
I have one question:
Everything works fine, however I need to alter the font size so that it looks in place with the other text on the forum. Currently it looks completely out of place. Here is what my panel looks like:
http://img465.imageshack.us/img465/4371/untitled46rw.gif
The text should show up like in the navbar. Can you please help? This is a fantastic hack, and with the correct font size display it will be even better.
Several people have asked the same question. Please help.
Thanks!
thedvs
01-05-2006, 10:40 PM
server load is terrible with this, even with this rewrite
ttp://www.vbulletin.org/forum/showthread.php?t=100672
Prince
01-06-2006, 02:15 AM
server load is terrible with this
yup, that is why I uninstalled it.
yup, that is why I uninstalled it.
I just removed "You are most active in" part (html and php code) and server load went back to normal.
S@NL - BlackBik
01-08-2006, 08:40 PM
In Dutch we separate thousands with a dot instead of a comma, ie 1.000 instead of 1,000.
That was no problem, I changed the str_replace from comma to dot.
But we also have some users that browse in the English language. For them the postpercentage and posts per day don't give the right results now.
Is there anyway to replace the str_replace to an other php command that replaces the . AND the , with a space?
OK, found a solution
Find this code
(str_replace(',', '', $vbulletin->userinfo['posts'])
and replace it by this:
(preg_replace(array('/\./','/\,/'), '', $vbulletin->userinfo['posts'])
That code is found three times.
That seemes to do the trick, I don't know if it's a very elegant solution, since I'm a php n00b, but it works :)
Club3G
01-15-2006, 05:59 AM
hmm, ok now its saying invalid file specified when i upload the xml file
any ideas??
Make sure you're installing this as a plugin, not as a product.
Plugin System -> Upload/Download plugins -> Import Plugin Definitions XML File
(at the very bottom)
QueenBee
01-15-2006, 06:17 AM
wonderful!! i got it. it looks kinda big tho. lol
thanks:)
QueenBee
01-15-2006, 06:33 AM
woo hoo i did another version, smaller, and great. lol
onkel.joi
01-26-2006, 06:34 PM
Just got one problem, when I checking posts for last 24 hours for some reason it only shows 100 posts, but there should be a lot more.
onkel.joi
01-29-2006, 04:07 PM
Just got one problem, when I checking posts for last 24 hours for some reason it only shows 100 posts, but there should be a lot more.
Any help??? Please
good job ZT:)
im using this mod and ur vBShout on myboard
this block apears below vBShout in forumhome
is it possible to change its position to set before vBShout?
thisgeek
01-30-2006, 07:12 AM
Weird. Mine shows above vbShout.
Where is your vbShout set to display?
My "vbShout Position" is set to 'Below Navigation Bar'.
Weird. Mine shows above vbShout.
Where is your vbShout set to display?
My "vbShout Position" is set to 'Below Navigation Bar'.
mine shows after vBShout! ( and Forumhome: Photopost vBA Gallery Block )
My "vbShout Position" is set to 'Below Navigation Bar', SAME HERE
onkel.joi
02-07-2006, 03:56 AM
Just got one problem, when I checking posts for last 24 hours for some reason it only shows 100 posts, but there should be a lot more.
Any one?
melefire
02-15-2006, 10:19 PM
this lookz good
Muscolino
02-21-2006, 07:34 PM
Very nice hack but I have a problem with it:
Your total forum posts: 1 (0.00% of forums total posts)
Your most active in: The TalkSoccer Lounge ? 3568 Posts
Average posts per day: 0.00
Those stats don't match up with my stats under user profile:
Total Posts: 10,207 (10.97 posts per day)
Pink-Lotus
03-01-2006, 07:53 AM
Thanks for the hack.
Had to change the spelling of 'Your most active' in to You're but other than that, great thanks x] Also I changed the interface a little.
Good job as always. Cheers
*installs
LiveMicSociety
03-07-2006, 02:04 PM
Installed :up:
SuperserverUK
03-10-2006, 03:22 PM
Installed fine but the font does not match the main forums and a s a result it looks awful.
Does anyone have an idea on how to fix this?
R34GTT
03-12-2006, 10:53 AM
Ive installed this a while ago, all is working fine. But im trying to find away to have the Total Members, Total Thread and Total Posts info on my homepage.
Basically, I building my homepage and what the above hack, or at least part of it on there. But set out in a list form. Like this,
Members:
Threads:
Posts:
Hope that makes sense!
Dan
dbfury
03-12-2006, 03:04 PM
Hello
Is there a way to show the welcome panel on all pages?
Ghostspy
03-20-2006, 03:43 PM
Zero great hack thanks man
Wordplay
05-09-2006, 10:25 AM
how would i make this showup on any page other then the forumhome?
i don't mind manually editing it, even if its alot to do, as long as you tell me how to.
like should i just place something infront of all the variables such as:
{$exec_lastposts}
if so just tell me what to.
matter of fact right now it only works with all the info on the index.php page (forumhome) on other pages it shows up but like the memberslist it doesnt have any working numbers.
also on vbadvanced pages it doesn't show up neither.
index is at:
site.com
and the forum is at:
board.site.com
loonytune15
07-05-2006, 01:28 AM
ok for some reason this hack is no longer working for some of my users. It was working perfectly and now its not.
they keep getting this:
Your total forum posts: 1,016 (0.00% of forums total posts)
You're most active in: Signature Showcase · 434 Posts
Average posts per day: 0.00
or something similiar. any ideas?
MissKalunji
08-05-2006, 12:36 PM
does that work with 3.6?
DF-inside
08-07-2006, 07:32 PM
Yeah can anyone tell us if this hack works on VBB3.6.0?
Yep, works fine on 3.6 for me. :)
Shouzen
09-18-2006, 03:03 AM
how do i make a new template?
MixMakers
10-18-2006, 07:18 AM
*bump*
Anyone has a code to resize the avatar shown in this hack?
Also looking for this. Any help would be appreciated.
RockMTP
03-09-2007, 11:08 PM
Congarts on an excellent mod!
I've had this installed fro a while and everything has been working fine from day 1. I had to change my db and now the welcome panel shows this:
View New Post · View Posts In Last 24 Hours ·
Members: 1,494 · Threads: 1,188 · Posts: 4,191
I also have this · symbol in the 'Your Most Active In: (forum) · 10 Posts'
I have moved the forum attachments from the attachment table to the server as my db was struggling. Can anyone tell me how to get this working again please?
Thanks
The Scriblerian
04-17-2007, 12:59 AM
How do I go about doing this more clearly? I mean how would I add in this template?
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3" align="center">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_welcomepanel')"><img id="collapseimg_forumhome_welcomepanel" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_panel].gif" alt="" border="0" /></a>
Welcome Back <a href='member.php?{$session[sessionurl]}u={$bbuserinfo['userid']}'>{$bbuserinfo['username']}</a>
</td>
</tr>
<tbody id="collapseobj_forumhome_welcomepanel" style="$vbcollapse[collapseobj_forumhome_welcomepanel]">
<tr>
<td class="alt1" align="center" width="1%">
<a href="profile.php?{$session[sessionurl]}do=editavatar">{$bbuserinfo['avatar_build']}</a>
</td>
<td width="50%" class="alt2" align="$stylevar[left]" valign="top">
Welcome back, {$bbuserinfo['username']}, there have been <b>{$bbuserinfo['newposts']}</b> posts and <b>{$bbuserinfo['newthreads']}</b> threads since your last visit at {$bbuserinfo['lastvisit']}<br />
<table width='80%' cellspacing='0' cellpadding='2' border='0' align='center'>
<tr>
<td width="50%" align="$stylevar[left]"><b>{$exec_lastposts}</b> Posts In Last 24 Hours</td>
<td width="50%" align="$stylevar[right]"><b>{$bbuserinfo['pmunread']}</b> Unread Private Messages</td>
</tr>
</table>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div align='center'><a href="search.php?{$session[sessionurl]}do=getnew">View New Posts</a> ? <a href="search.php?{$session[sessionurl]}do=getdaily">View Posts In Last 24 Hours</a> ? <a href="profile.php?{$session[sessionurl]}do=editprofile">Edit Your Profile</div>
</td>
<td width="50%" class="alt2" align="$stylevar[left]" valign="top">
Your total forum posts: <b>{$bbuserinfo['posts']}</b> (<b>{$bbuserinfo['postpercent']}%</b> of forums total posts)<br />
<if condition="$bbuserinfo[active]">
Your most active in: <a href="forumdisplay.php?{$session[sessionurl]}f={$bbuserinfo[active][0][forumid]}">{$bbuserinfo[active][0][title]}</a> ? <b>{$bbuserinfo[active][1]}</b> Posts<br />
<else />
You're most active in: <i>N/A</i><br />
</if>
<table width='100%' cellspacing='0' cellpadding='2' border='0' align='center'>
<tr>
<td width="50%" align="center">Average posts per day: <b>$bbuserinfo[postsperday]</b></td>
</tr>
</table>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<div align="center">Members: <b>{$numbermembers}</b> ? Threads: <b>{$totalthreads}</b> ? Posts: <b>{$totalposts}</b></div>
</td>
</tr>
</tbody>
</table>
<br />
King Kovifor
04-17-2007, 09:22 PM
It's not supported... (I created a mod to do this and add more functionality and options) but you have to go to your style manager... Click on the drop down and choose "Add Template" for each of your styles.
GrowReport
05-22-2007, 09:56 PM
I get "Invalid File Specified" when I try to upload the xml file.
I just upgraded to version 3.6.7 pl1
is there anything else I need to do?
aakhan136
07-16-2007, 01:15 PM
Thanks
Stefano Virgill
08-15-2007, 02:54 AM
Installed,
works great.
I just suggest to find in your forumhome_welcomepanel:
Unread Private Messages
and sosbtitute with:
<a href="http://www.YOURFORUM.com/private.php">Unread Private Messages</a>
So all the users will have a PM direct link.
Greetings
Steve
Arrogant-One
09-05-2007, 07:07 AM
Would you mind if I posted another .zip file for those of us already using the "Get new threads and posts" plugin?
A Get the New Threads and Posts Plug in?
Did you just make that up or does such a hack really exist?
AO
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.