PDA

View Full Version : Forum Home Enhancements - Welcome Panel Template Rewrite


Pages : [1] 2

King Kovifor
12 Jun 2006, 16:59
Introduction:

When I first installed Zero Tolerence's Welcome Panel (http://www.vbulletin.org/forum/showthread.php?t=83124), I found that it had a lot of mistakes on my computer. I set out to make a new template for the hack - and I succeeded. This template is my rewrite of Zero Tolerence's hack.

This Hack Made Possible By Zero Tolerance

Please Remove Zero Tolerance's Plugins When Upgrading from a Previous Version!

Hack Requirements:
This hack has one requirement:
vBulletin v3.6.0 or higher. (Confirmed working with vB 3.7.0 RC1)
Installation

Installation is a breeze! Follow these simple steps:
Upload Files into folders.
Install Welcome Panel Product
Customize!
Yes, it's that simple.

Feature Lists:
Support for v1.x has been dropped.

v2.2.0
Displays the number of new posts.
It displays the user's avatar & links to the edit avatar page.
Displays your forum stats:
Posts
Threads
Members
The welcome panel is fully phrased.
Displays a link for new posts.
There is a link to edit your profile.
It shows the forum your most active in.
It displays the percent of your posts compared to the total forum posts.
It displays the users posts per day count.
It displays the users number of posts.
The welcome panel is collapsable if the user doesn't want it there.
Completely customizable through a setting group with 13 settings.
Displays users current time (in their time zone)!
Image or Textual links for New Posts, Daily Posts, and Edit Your Profile.
Displays the number of new Private Messages.
Displays the number of new Threads.
Customizable link for forum rules.
Customizable to the latest forum announcement (thread only).
Latest Announcment name is customizable through a setting.
There is an admin editable section for "useful links", HTML required.
Link to forum leaders. (uses vB default phrase so if you change it to something else the welcome panel also changes)
Link to Mark Forums Read. (uses vB default phrase so if you change it to something else the welcome panel also changes)
Link to the announcement forum.
The colors now alternate correctly on your welcome panel.
Show Version
Welcome Panel Style (Second Style by Da Pro)
FAQ Entries
v3.0.0
Displays the number of new posts, threads, and unread private messages.
Displays the current time (using the user’s time settings)
It displays the user's avatar & links to the edit avatar page.
Displays your forum stats:
Posts
Threads
Members
Top Poster Statistics
Username
Profile
Amount of Posts
Fully Phrased
Re-Phrased from v2.2.0
New Posts Link (Image or Text)
Edit Profile Link (Image or Text)
Daily Posts (Image or Text)
The forum the user is most active in.
How much percentage of the forums total posts does the user own.
How many “Posts Per Day” the user has.
The Panel is Collapsible
Customizable through 13 settings
Revamp Settings from v2.2.0
Forum Rules link.
Forums Latest Announcement
Pulled Dynamically from specified forum.
Admin Set “useful” links – BBCode allowed!
Links to Forum Leaders (vBulletin’s Phrase)
Links to the Mark Forums Read system (vBulletin’s Phrase)
Links to the Announcement Forum (optional)
Alternating Colors
Welcome Panel Version (optional)
Welcome Panel Style Improved!
BBCode Parsing
Link to vBulletin.org in ACP’s Product Manager
Version Checking enabled.
Retrieve Latest Version from database, and display in template.
Improved Code: With Zero Tolerance's Permission, code rerelease made this a possibility! Improved!
Optional Plural Checking (New Posts, New Threads) New!
No Avatar Image: Uses the Image Path setting New!
Multiple Templates! New!

Conflicts:
Users have reported that there is a conflict with this modification:
http://www.vbulletin.org/forum/showthread.php?t=122995

Change Log:
v3.0.5: May 16, 2007 - New Features & Improved Code
v3.0.4: March 23, 2007 - Bug Fix - new auto version update.
v3.0.3: Immediately released to replace 3.0.2 to add the correct template.
v3.0.2: Bug Fix, immediately removed from download
v3.0.1: Bug Fix
v3.0.0: Initial Release of 3.0.0

Diana Notacat
12 Jun 2006, 18:01
I'd very much like to seen your screenshots, this looks quite nice! :D

Snake
12 Jun 2006, 19:37
Sweet as a pie! I have been waiting for this release though it really took a bit of time. I can't wait for the further planned features. Thanks King and keep the great work! :)

/me clicks on install

King Kovifor
12 Jun 2006, 19:59
Lil Ripsta, it took some time, as I needed a 3.6.0 board, and the license i was attached to expired. So, now I'm back. Screenshots, later today, with most variations. There are two things that I can't get too: no avatar & image links. I haven't gotten them uploaded. I'm glad there's people who were wanting this. :)

EDIT:

Screenshots Added

Marco van Herwaarden
12 Jun 2006, 21:06
Is there any change compaired to the 3.5 version? I doubt it, since no file in that zip is changed since april.

PS Also moved to correct forum

Allan
13 Jun 2006, 00:43
Great idea ;)

(click Install)

King Kovifor
13 Jun 2006, 01:05
Is there any change compaired to the 3.5 version? I doubt it, since no file in that zip is changed since april.

PS Also moved to correct forum

The posting was just a port. I've actually added a new feature to vB 3.6 which I'll be uploading now. :)

hypnoticpimp
13 Jun 2006, 04:50
does this work for 3.5.4

King Kovifor
14 Jun 2006, 00:19
does this work for 3.5.4

Visit the 3.5.x thread (http://www.vbulletin.org/forum/showthread.php?t=100672) for the 3.5.4 version... The FAQ part isn't on 3.5, but it is in the 3.6.0 version.

C_P
14 Jun 2006, 16:05
FYI, just for testing purposes, I installed the 3.5.4 version and in working with King Kovifor I uploaded the 3.6 version of the xml and have no issues. It does not load the 3.6 FAQ's portion. Good suff.

iamyp
15 Jun 2006, 01:36
is it possible to resize the avatar only for the welcome panel?

Digital2
15 Jun 2006, 17:02
Installed on 3.6.0 beta 2 here and nothing works. I see no change to the forums. I imported the plugin's from Zero Tolerances hack and your 2.2 product. The template was created by the installer but I do not see any change to the boards at all. Am I missing something?

Digital2
15 Jun 2006, 17:03
Installed on 3.6.0 beta 2 here and nothing works.
http://www.online-equines.com/forums/

I see no change to the forums. I imported the plugin's from Zero Tolerances hack and your 2.2 product. The template was created by the installer but I do not see any change to the boards at all. Am I missing something? Did Jellsoft make any changes to the hooks in the recent beta 2 update?

King Kovifor
15 Jun 2006, 18:45
Digital2,

I currently have a 3.6.0 Beta 1 board, so I haven't noticed any errors. If you'd like me to look at it personally, I need a test account to log in to. If you'd like to send the test account login information through PM, your welcome too. But it should add a welcome panel as in the Screenshot onto the forum home.

Try Taking These Steps:

ACP -> vBulletin Options -> Welcome Panel Template Rewrite -> On/Off -> Switch to on if it's off.

Digital2
15 Jun 2006, 22:09
It was in the on position already by default. I will set you a test account up and PM you the info here.

King Kovifor
15 Jun 2006, 22:21
OK... I'll see what I can do.

* Problem Solved *

For Anybody Else:

See if you have 2 plugins underneath the vBulletin Product... They should be titled:

Welcome Panel - SOMETHING

Living in music
19 Jun 2006, 13:08
Look nice! Thanks!

Scooterpig
21 Jun 2006, 07:46
Where are the supplied images supposed to show up, cause they are not showing for me..:(

King Kovifor
21 Jun 2006, 19:22
Where are the supplied images supposed to show up, cause they are not showing for me..:(

Images appear where the text "New Posts | Daily Posts | Edit Profile" appears. You must turn them on in the ACP...

Scooterpig
22 Jun 2006, 08:59
Images appear where the text "New Posts | Daily Posts | Edit Profile" appears. You must turn them on in the ACP...

Thanks for that. I have turned it on in AdminCP and given the link as - images/misc - but still not showing or have I written the link wrong in AdminCP?

993ti
22 Jun 2006, 23:03
Great job :)
Looks good and works with 3.6 beta 3.
What templates are edited because i want to change some things.

993ti
22 Jun 2006, 23:13
Thanks for that. I have turned it on in AdminCP and given the link as - images/misc - but still not showing or have I written the link wrong in AdminCP?
It should be images/misc/ (trailingslash) ;)

Scooterpig
23 Jun 2006, 08:48
It should be images/misc/ (trailingslash) ;)

That did it, thank you mate..:)

futureye
23 Jun 2006, 10:17
i've installed the product but nothing seen to be changed in forum home

http://forums.surcity.net

its an arab forums

steps done:

installing ( product-welcomepanel-v22.xml )

uploading ( images folder )

993ti
24 Jun 2006, 00:14
you also need to upload Zero tolerance's version (but don't do the template edits).

Staxed
01 Jul 2006, 11:27
how can I change the location of this? i.e..what code do i need to remove/add to stick it under the my shoutbox instead of under the navbar.

i don't need to know where to put the code, just which code to remove and add

VBUsers
01 Jul 2006, 21:58
just added this to 3.6 beta 3 and doesnt work can anyone help me out? i still have zeros online. www.adminrevo.com (http://www.adminrevo.com) is the site i have it on.

King Kovifor
07 Jul 2006, 17:09
just added this to 3.6 beta 3 and doesnt work can anyone help me out? i still have zeros online. www.adminrevo.com (http://www.adminrevo.com) is the site i have it on.
Be sure to turn it on, enable Zero Tolerence's Plugins... If you need further help, PM "Jeremy" on your forums.

VBUsers
07 Jul 2006, 19:06
Be sure to turn it on, enable Zero Tolerence's Plugins... If you need further help, PM "Jeremy" on your forums.

thank you its been fixed.

JollyJack
16 Jul 2006, 14:59
So what are we to do first, import a 3.54 version then overwrite it with this

King Kovifor
17 Jul 2006, 14:24
You need Zero Tolerence's hack for vB 3.5.4 installed than you install this.

Staxed
18 Jul 2006, 09:20
how can I change the location of this? i.e..what code do i need to remove/add to stick it under the my shoutbox instead of under the navbar.

i don't need to know where to put the code, just which code to remove and add

still looking for an answer on this please

JollyJack
20 Jul 2006, 13:15
I want to be able to add a donation button under View Forum Leaders | Mark Forums Read

where is the code that i need to edit to do this please

King Kovifor
21 Jul 2006, 19:26
still looking for an answer on this please
This Has to do with the plugin. I think it is something with find $navbar and replace with $navbar - $welcomepanel or something like that.

As to the code it's in the template. I'm working on getting a 2 template system but the plugin isn't working. It's depending on your style.

King Kovifor
30 Jul 2006, 01:36
Be on the look out for v2.3 which will include a revamped Settings, two templates, template changes, and plugins to install (no need for zt's plugin as this will new version will require some plugin modifications too!). Should be out within the next week. Also on it's way is a french translation.

albibak
30 Jul 2006, 05:04
Also on it's way is a french translation.
I confirm :cool:

Staxed
30 Jul 2006, 09:31
Be on the look out for v2.3 which will include a revamped Settings, two templates, template changes, and plugins to install (no need for zt's plugin as this will new version will require some plugin modifications too!). Should be out within the next week. Also on it's way is a french translation.

can't wait :)

Gottcha
05 Aug 2006, 21:00
i have Zero Tolerence's Plugins installed earlier and want to use this mod...how do i go about deleting the template that he says to create?

King Kovifor
06 Aug 2006, 01:29
Click on [revert] because it's a "custom" template and it's default is blank and it'll delete it.

Gottcha
06 Aug 2006, 01:51
ok...i reverted the template and its still showing up.

http://www.fragtraders.com/forums/index.php

Mythotical
06 Aug 2006, 09:44
You don't have to technically delete Zero's template, just overwrite with this one, otherwise you can just upload this .xml file, check the box for overwrite allowed then it should do just fine.

Gottcha
06 Aug 2006, 14:52
You don't have to technically delete Zero's template, just overwrite with this one, otherwise you can just upload this .xml file, check the box for overwrite allowed then it should do just fine.

not quite following you...what do we overwrite?

i just uploaded the xml and have both of the mods showing.

jellybaby
06 Aug 2006, 15:55
Does anyone find this makes a significant slow page opening for your forum home?

Mythotical
07 Aug 2006, 22:07
Gottcha: Maybe I am misunderstanding what your problem is. Are you wanting to get rid of the hack altogether or what?

jellybaby: This doesn't slow down page opening, that is caused from the amount of plugins you have installed. Thats what slows down page opening.

Gottcha
07 Aug 2006, 22:38
Gottcha: Maybe I am misunderstanding what your problem is. Are you wanting to get rid of the hack altogether or what?



i want to remove the old hack and use this one

King Kovifor
12 Aug 2006, 19:01
i want to remove the old hack and use this one
when you remove the old hack, all you have to do is get rid of the template and upload this one. Since zero's template was manually added [revert] in style manager should do the trick.

TranceCan
13 Aug 2006, 22:50
Be on the look out for v2.3 which will include a revamped Settings, two templates, template changes, and plugins to install (no need for zt's plugin as this will new version will require some plugin modifications too!). Should be out within the next week. Also on it's way is a french translation.

This looks EXACTLY like what I need. Any new ETA on version 2.3?? I'm eagerly waiting so I don't have to mess around with zt's plugin. :D

King Kovifor
16 Aug 2006, 14:57
This looks EXACTLY like what I need. Any new ETA on version 2.3?? I'm eagerly waiting so I don't have to mess around with zt's plugin. :D
No. I'm having trouble with plugins so it won't be out for a while. Just install his plugins and I'll have detailed instructions on upgrading.

GreysAnatomy
18 Aug 2006, 10:50
Yayayay! All I had to do was remove some of the old navbar content because I didn't want the info twice. Thanks a lot!

Alcatraz
26 Aug 2006, 18:30
Fixed nvm :-)

Alcatraz

King Kovifor
26 Aug 2006, 18:32
I'm not sure. That's a plugin problem. You'll need ZT's help for that one.

Warlord
18 Sep 2006, 03:36
Umm, I installed this but I still seem to have only ZT's Welcome Panel showing. It's like I didn't do anything.

Steps performed:

1. Uploaded 2.2.0 xml file (checked overwrite)
2. Went to vb options --> Welcome Panel Re-write and submitted it.


I don't see any changes from the original hack on my site....?

shareturk
18 Sep 2006, 09:53
3.6.0 version?

King Kovifor
18 Sep 2006, 12:05
3.6 is v2.2.0

Warlord, it seems that you forgot to delete his panel. Styles and Templates-> [REVERT] forumhome_welcomepanel (you might have two)

Warlord
18 Sep 2006, 16:11
Thanks KK, that seems to have fixed it. Looks much better. :)

*Clicks Install*

King Kovifor
19 Sep 2006, 01:14
Your Welcome. A mistake always plays a part in a bad install, but than again, we all do it.

AndrusW
22 Sep 2006, 09:43
Yo KK... Is there a semi-easy way to get the font size to show up as smallfont in this magnificent mod?

Good job on this one! :)

King Kovifor
22 Sep 2006, 17:22
um. I think so. Just add a <small> tag around any of the vBPhrases.

iran.gs
22 Sep 2006, 21:37
installed, worked on 3.61 fine

Snake
26 Sep 2006, 18:19
Thanks! Yup seems to work fine on 3.6.1. :)

brvheart
27 Sep 2006, 20:14
is this still in beta?

Snake
27 Sep 2006, 22:38
No and it works just fine. ;)

gamesmastervide
03 Oct 2006, 18:44
i get sql errors while trying to install this mod..

King Kovifor
03 Oct 2006, 20:23
i get sql errors while trying to install this mod..
Can you please post the SQL errors?

AMG021
05 Oct 2006, 23:46
nice :)

King Kovifor
07 Oct 2006, 15:57
nice :)
got it working?

DJ_aroms
12 Oct 2006, 03:36
Hey, I want to show this on all pages. But, it displays the text without the stats on all other pages except the Home page. What do I need to do to get the stats on all pages?

Thanks. :)

King Kovifor
12 Oct 2006, 22:44
I think the stats are Home Page specific that would be a plugin that I don't touch for now.

kronikdj
16 Oct 2006, 22:36
awesome mod, installed and works great. Is there a way though to get rid of the right side with all the post stats, only keep the welcome part, make it thinner and stretch it to the width of the forum? Which template has been modified?

King Kovifor
23 Oct 2006, 20:30
awesome mod, installed and works great. Is there a way though to get rid of the right side with all the post stats, only keep the welcome part, make it thinner and stretch it to the width of the forum? Which template has been modified?
It's in the forumhome_welcomepanel template.

PassLab.net
01 Nov 2006, 02:37
thanks King...

optrex
25 Nov 2006, 10:59
I've upgraded to this version from one of the very early 3.5 versions. All is well excpept I am now getting the "no avatar" graphic instead of the actual avatar.

Anyone know why please?

King Kovifor
26 Nov 2006, 17:46
I've upgraded to this version from one of the very early 3.5 versions. All is well excpept I am now getting the "no avatar" graphic instead of the actual avatar.

Anyone know why please?
I'm not sure why, but over the next week or so, I'll check it out.

optrex
27 Nov 2006, 10:43
I found the issue. It doesn't like the "show spiders hack" http://www.vbulletin.org/forum/showthread.php?t=119134

King Kovifor
27 Nov 2006, 14:29
Oh, I'm sorry. The only thing I can say, is uninstall this hack or that one... or just remove the avatar from both styles...

AWJunkies
30 Nov 2006, 19:21
I am having no issues running both at same time. But I also modified your code and made my own login/welcome box within header. Credit to you for this mod.

geisharobots
02 Dec 2006, 23:40
I installed this mod and its working fine and all, but aesthetically I'd like to lose the borders around the three images for newposts, 24hours, and edityourprofile. I can't seem to find the area to adjust this - can you please let me know where I should look for this code to eliminate the borders from the image references?

Thanks!

geisharobots
03 Dec 2006, 00:11
Nevermind.. I finally figured it out. I've been driving myself crazy for days - then I finally post the question, and I figure it out like 10 minutes later.

King Kovifor
03 Dec 2006, 18:31
Glad you figured it out. Sorry I couldn't help!

Oddjob
15 Dec 2006, 21:05
Nevermind.. I finally figured it out. I've been driving myself crazy for days - then I finally post the question, and I figure it out like 10 minutes later.


How did you do it? I would like to know.....

principino1984
24 Jan 2007, 09:29
how do I move the welcome panel? I'd like to insert it in the navbar table...

Marco

King Kovifor
28 Jan 2007, 18:33
Sorry it took me so long. :( I'm not sure, but it is in the plugin...

Snake
29 Jan 2007, 10:25
Is there any updates on this yet?

King Kovifor
29 Jan 2007, 20:22
No. Sorry. Might not be any. I don't know what to do and I'm working on 2 sites, and a massive rewrite of one of my hacks...

King Kovifor
24 Feb 2007, 19:32
Version 3 has been released!

lovelypk
24 Feb 2007, 21:18
How many queries it makes?

King Kovifor
24 Feb 2007, 21:20
How many queries it makes?

It adds 2 queries no matter what (top poster and user thread count) and 1 optional query for latest announcement (required if latest announcement option is set to yes).

thejessman86
25 Feb 2007, 08:15
Is it just me or are there no image files?

Arved Yagami
25 Feb 2007, 09:42
There arent any image files in the zip.

rjmjr69
25 Feb 2007, 11:34
No images no directions

King Kovifor
25 Feb 2007, 18:02
Is it just me or are there no image files?

There arent any image files in the zip.

Oops. Guess I never added them. I'll add them sometime today.

No images no directions

Just upload the product .xml - installation is that simple.

Smoothie
26 Feb 2007, 01:16
I have a question. Is that the actual size of the welcome panel after you add this mod? Like can someone post a screenshot of forumhome with this installed? Because it looks huge.....

King Kovifor
26 Feb 2007, 01:40
I have a question. Is that the actual size of the welcome panel after you add this mod? Like can someone post a screenshot of forumhome with this installed? Because it looks huge.....

The panel isn't that large height wise. It is the full width of your forum, so if your forum's got a really tiny width, it may be really tall. It's proportional.

Smoothie
26 Feb 2007, 01:47
I use a full width skin, but was just curious what this looks like in relation to the rest of the forum.

King Kovifor
26 Feb 2007, 01:50
I use a full width skin, but was just curious what this looks like in relation to the rest of the forum.

It uses the style variables for Macfora (or your forum), so it'll look like Macfora (or your forum). The width of your categories, will be the width of your welcome panel.

NathanMc
26 Feb 2007, 02:14
on my stats it shows that I have You have 1,390 posts and 1 threads, but of course I have more then 1 thread.

I have attached a SS.

King Kovifor
26 Feb 2007, 02:21
on my stats it shows that I have You have 1,390 posts and 1 threads, but of course I have more then 1 thread.

I have attached a SS.

Huh... That's odd. Maybe there's a bug. I'll test right now.

Nice bug catch. I'm working on a fix now.

Fixed.

Nathan, don't forget to click install. I am going to start checking and not replying.

NathanMc
26 Feb 2007, 02:54
done, thanks for the help. I love the template.

Shana
01 Mar 2007, 01:09
I don't see it, I uploaded the images / imported the .xml file.

Shana
01 Mar 2007, 01:14
Fixed, forgot to install Zero Tolerance's mod.

Smoothie
01 Mar 2007, 03:17
It uses the style variables for Macfora (or your forum), so it'll look like Macfora (or your forum). The width of your categories, will be the width of your welcome panel.No, I didn't mean width-wise, I meant height-wise. Looks rather large-ish, height-wise.

King Kovifor
03 Mar 2007, 22:43
No, I didn't mean width-wise, I meant height-wise. Looks rather large-ish, height-wise.

I think it's a nice height wise. For the amount of information there is...

valdet
06 Mar 2007, 18:21
Can someone please tell me how can I remove this line

» You own 9.4% of the forums posts.

thanks.

King Kovifor
07 Mar 2007, 00:44
That line would be in the wp_userstats phrase. Or the phrase that includes user stats. Just delete it including the {#}. It won't affect it.

perfphysio
07 Mar 2007, 17:03
OK, So I have it up and working as per you instructions (3.6.5) But the font size is not the same as on my default board. It is larger than everything else. How can I make it the same?

my board is www.physiochat.com

Also looking at zero tolerances original it has some nice bits on it, like the posts in the last 24 hours, where you are most active (forum) which is also fab. Can this be added as an option to yours?

Also I have got this working but my original welcome panel is also there. SHould this be areplacement or do we now have two?

See added screen shot

perfphysio
07 Mar 2007, 17:04
OK, So I have it up and working as per you instructions (3.6.5) But the font size is not the same as on my default board. It is larger than everything else. How can I make it the same?

my board is www.physiochat.com (http://www.physiochat.com)

King Kovifor
07 Mar 2007, 22:20
I'll be able to answer all your questions tonight... and perfphysio - don't forget to click install!

Well, not sure about the font but you could probably work using <small> tags or something. I don't personally have that problem...

About the two welcome panels, check inside the forumhome template category and see if you have two. If you have two, find one that has a [REVERT] next to it and click it. That should remove ZT's template.

PREACHERMAN
09 Mar 2007, 14:31
Ok, where do I hook the original plugin from zt post?

I think that is the problem. I made the template but did not upload the plug in.

PREACHERMAN
09 Mar 2007, 16:34
never mind I got it

perfphysio
09 Mar 2007, 17:37
seems to have code for class="alt1" or class="alt12 in the welcome template. Is this to do with the font?

perfphysio
09 Mar 2007, 18:03
How do alter the default style on the left side of this header message to turn the following:

There have been 16 posts and 5 threads since your last visit at 08:54 PM, 08-03-2007. The time is currently 06:00 PM, on 09-03-2007. You have 0 unread Private Messages.
The Physio Forum - the home of online physiotherapy discussion's Latest Announcement: Studying in Ireland?

into


There have been 16 posts and 5 threads since your last visit at 08:54 PM, 08-03-2007.
The time is currently 06:00 PM, on 09-03-2007.
You have 0 unread Private Messages.
Latest Announcement: Studying in Ireland?


thanks

King Kovifor
09 Mar 2007, 23:16
How do alter the default style on the left side of this header message to turn the following:

There have been 16 posts and 5 threads since your last visit at 08:54 PM, 08-03-2007. The time is currently 06:00 PM, on 09-03-2007. You have 0 unread Private Messages.
The Physio Forum - the home of online physiotherapy discussion's Latest Announcement: Studying in Ireland?

into


There have been 16 posts and 5 threads since your last visit at 08:54 PM, 08-03-2007.
The time is currently 06:00 PM, on 09-03-2007.
You have 0 unread Private Messages.
Latest Announcement: Studying in Ireland?


thanks

That'll take some working. Those two things are managed through two phrases, and have another phrase in between. If you don't touch your rules link and settings, you'll be find using these instructions:


Open up ACP -> Phrases -> wp_unread
Replace:
There have been <b>{1}</b> posts and <b>{2}</b> threads since your last visit at {3}. The time is currently {4}, on {5}. You have <a href="private.php">{6}</a> unread Private Messages.
With:
<ul>
<li>There have been {1} posts and {2} threads since your last visit at {3}, 08-03-2007.</li>
<li>The time is currently {4}, on {5}.</li>
<li>You have <!---- <a href="private.php"> ---->{6}<!----</a>----> unread Private Messages.</li>
Save
Open up ACP -> Phrases -> wp_latestannouncement
Replace:
{1}'s Latest Announcement: <a href="showthread.php?t={2}">{3}</a>
With:
<li>Latest Announcement: <a href="showthread.php?t={2}">{3}</a></li></ul>
Save

This is untested, but should do the trick.

perfphysio
09 Mar 2007, 23:26
Thanks, i'll give it a try

King Kovifor
10 Mar 2007, 02:40
It's a nice idea... maybe another style option...

WebmasterSimds
15 Mar 2007, 23:25
Thanks for the update, I must admit this is a wonderful welcome for people/ though wondering if there is a way to say adjust the font size for this??

King Kovifor
15 Mar 2007, 23:49
I've never personally had a problem with font... But try surrounding it with <font size="x"></font>. That might solve your problem.

King Kovifor
16 Mar 2007, 00:44
In the next version the following features/add-ons will be made:

- Removal of the new unchangeable option
- 1 New Plugin
-- Gets the version number from the DB (using the product)
- Hopefully, the return of DaPro's style (might not happen)
- Bug Fixes (if any)

If you have any suggestions for features, please post them and I'll do my best to accommodate them.

momo2
17 Mar 2007, 11:03
Same here nothing changed on none of my skins,,

King Kovifor
17 Mar 2007, 16:59
Can you capture a screenshot? I'll look at what you have, and attempt to locate it in the template.

steadicamop
22 Mar 2007, 18:08
How do you exclude a forum from new posts/threads as it shows when I have new posts and threads in an Admin only forum.

Cheers

Jason

King Kovifor
22 Mar 2007, 23:36
How do you exclude a forum from new posts/threads as it shows when I have new posts and threads in an Admin only forum.

Cheers

Jason

That's a part of ZT's plugins. I'll attempt to look at them.

A lot of the functions come from ZT's plugins.

Some modifications need to be made around line 72...

steadicamop
22 Mar 2007, 23:53
Thanks - I'll try and grab a look myself - I'm not totally competent with PHP or VB's system but will see if anything sticks out as obvious.

Cheers

Jase

King Kovifor
22 Mar 2007, 23:56
Those lines are about it, but I'm not sure If I can do something in a mysql query. Always use it as SELECT * FROM table WHERE this=that... not where this != that... so not sure if I can.

smoovie
23 Mar 2007, 17:57
One request on this. There is no log-in input boxes on this. I logged out and almost couldn't log back in *lol*. I had to click on the CP link and there was a log-in area in there. Can you add a Log-in section to this when users are not logged-in? It would help tremendously. I had a few users e-mailing me last night saying they couldn't get in. Thanks.

steadicamop
23 Mar 2007, 20:42
Those lines are about it, but I'm not sure If I can do something in a mysql query. Always use it as SELECT * FROM table WHERE this=that... not where this != that... so not sure if I can.

I've dabbled with MySQL briefly - would it not be possible to select all from the table where table != 29 (my forum I want to exclude) - that should achieve it? Just not sure how that can be formatted....

Cheers

King Kovifor
23 Mar 2007, 22:06
One request on this. There is no log-in input boxes on this. I logged out and almost couldn't log back in *lol*. I had to click on the CP link and there was a log-in area in there. Can you add a Log-in section to this when users are not logged-in? It would help tremendously. I had a few users e-mailing me last night saying they couldn't get in. Thanks.

There is no login box for a reason. This displays if the user's userid is greater than zero... So it doesn't show to guests.

I've dabbled with MySQL briefly - would it not be possible to select all from the table where table != 29 (my forum I want to exclude) - that should achieve it? Just not sure how that can be formatted....

Cheers

I'm not sure... haven't gotten a chance to look?

Ophelia
23 Mar 2007, 22:34
No matter what I put in the box for my rules page.. it still reads

http://www.mysite.net/forum/%1$s

How do I fix this?

King Kovifor
23 Mar 2007, 22:35
No matter what I put in the box for my rules page.. it still reads

http://www.mysite.net/forum/%1$s

How do I fix this?

That might be a bug... I'll look into it now. Thanks!

Yep A bug... Releasing a new version now...

Ophelia
23 Mar 2007, 23:57
Thank you for the quick update :) I'll install it now.

King Kovifor
23 Mar 2007, 23:58
Your Welcome. Support is a key ingredient to a successful hack!

Ophelia
24 Mar 2007, 00:02
I first tried to overwrite when I input the xml... put in the code for rules, and it's still the wrong code. So I uninstalled the template all together, and reinstalled, and it's still the wrong code. Am I doing something incorrectly? Do I need to uninstall the original mod as well?

--->

Ignore this. I had to go and do a revert on the forumhome_welcomepanel template in order to wipe out previous revisions.

King Kovifor
24 Mar 2007, 15:46
I first tried to overwrite when I input the xml... put in the code for rules, and it's still the wrong code. So I uninstalled the template all together, and reinstalled, and it's still the wrong code. Am I doing something incorrectly? Do I need to uninstall the original mod as well?

--->

Ignore this. I had to go and do a revert on the forumhome_welcomepanel template in order to wipe out previous revisions.

Nice one... and I was going to go slap myself saying "Did I really forget to update the template AGAIN!"... But I modified it in MASTER TEMPLATE so it should have exported.

steadicamop
24 Mar 2007, 18:05
There is no login box for a reason. This displays if the user's userid is greater than zero... So it doesn't show to guests.



I'm not sure... haven't gotten a chance to look?

I've managed to figure it out - and also added the ability to change posts to post/threads to thread if there is only 1 new of either, if there's 2 or more, it shows posts/threads - as it stands there's a new plugin, 1 template change and a phrase update - I can post this all here, but it does require manual changing of the template and phrase.

King Kovifor
24 Mar 2007, 19:55
I've managed to figure it out - and also added the ability to change posts to post/threads to thread if there is only 1 new of either, if there's 2 or more, it shows posts/threads - as it stands there's a new plugin, 1 template change and a phrase update - I can post this all here, but it does require manual changing of the template and phrase.

If you send me the post/thread information in a PM I can include it by default in 3.0.5! You'll even get credit.

I received the code and modified how it needs installed, and the actual code. Thanks again steadicamop!

3.0.5 might include a new feature or two!

King Kovifor
15 Apr 2007, 16:51
I have currently got a beta v3.0.5 with general features I want (that doesn't include the major features that I want) and hopefully can get it released soon.

Also, If anyone would like to develop a different design for the panel (moving things around and such), please do and submit it here and it might appear in a version.

kompakt
16 Apr 2007, 17:16
I'm having really high queries (over 100) for users who have not logged-in in a long time. However, for daily users and guests the queries are fine. Any ideas why this is happening?

King Kovifor
16 Apr 2007, 21:43
I'm having really high queries (over 100) for users who have not logged-in in a long time. However, for daily users and guests the queries are fine. Any ideas why this is happening?

Queries really shouldn't be added for guests, since this doesn't show for guests.

I'm not sure what would cause this... Maybe some stray while() in ZT's plugin? I'll look into it.

UaeStar
18 Apr 2007, 22:16
i like that

itorrents
20 Apr 2007, 05:29
Looks much better with the border="0" added after the images in the template :)

King Kovifor
21 Apr 2007, 17:24
Looks much better with the border="0" added after the images in the template :)

Thanks, I'll take that into consideration for v3.0.5!

MeMySelfNi
23 Apr 2007, 02:30
*installed*

King Kovifor
14 May 2007, 01:41
As of right now... WPTR v3.0.5 is ready for release... But I'm goign to have to wait until I can get Zero Tolerance's OK for rereleasing code.

legion!
15 May 2007, 01:25
it says i have 1 post....in 218 threads...i installed this hack perfectly im not sure whats good with it

legion!
15 May 2007, 01:31
yea none of the stats like where it say how many post users posted in and wat forum they are active in...it jus stays the same....any resolutions??

King Kovifor
16 May 2007, 21:17
Um... Are you using vB 3.0.4? From your description, I can't help you much... If you'd like to PM me Admin Details I'll be happy to looking to your install, look at settings, and look at the problem. That may be more helpful.

Final Testing & Modifications of v3.0.5 will be made and released soon... Hopefully tonight! I GOT PERMISSION TO RERELEASE ZT's CODE!

principino1984
17 May 2007, 08:41
while the 3.0.4 version was workin...this new one is not workin...
as soon as I upload it I get database error...

principino1984
17 May 2007, 08:43
Here is the error

Invalid SQL:
SELECT COUNT(*) AS newposts FROM vb_post WHERE dateline >= 08:44, 17th-May-2007 AND visible = 1;

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 ':44, 17th-May-2007 AND visible = 1' at line 1
Error Number : 1064

Tri@de
17 May 2007, 12:54
in 3.0.5 i get an error! the same as above

Spookysalem
17 May 2007, 16:09
I am getting the same sql error.

King Kovifor
17 May 2007, 22:01
Ah... It's working fine on mine... :( Guess it's a bug for you guys... I know the problem....

Also: REMOVE ZT's PLUGINS...

King Kovifor
17 May 2007, 22:15
Here should be a working patch:

if ($vbulletin->userinfo['userid'] > 0 && $vbulletin->userinfo['userid'] != '' || !$vbulletin->userinfo['userid'])
{
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($vbulletin->options['wp_forumimagelink'] . '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" alt="Edit Your Avatar" />';

$postsin = array();
$gp = $db->query_read("SELECT p.threadid, t.forumid FROM " . TABLE_PREFIX . "post p LEFT JOIN " . TABLE_PREFIX . "thread t ON(t.threadid = p.threadid) WHERE p.userid = {$vbulletin->userinfo['userid']}");
while ($gpb = $db->fetch_array($gp))
{
if (!$postsin[$gpb['forumid']])
{
$postsin[$gpb['forumid']] = 1;
}
else
{
$postsin[$gpb['forumid']]++;
}
}

$active = array(0);

if (is_array($postsin) && is_array($vbulletin->forumcache))
{
foreach ($postsin as $forumid => $pi)
{
if ($pi > $active[0])
{
$active = array($pi, $forumid);
}
}
}

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;
}

$vbulletin->userinfo['posts'] = vb_number_format($vbulletin->userinfo['posts']);
$jointime = (TIMENOW - $vbulletin->userinfo['joindate']) / 86400;

if ($jointime < 1)
{
$vbulletin->userinfo['postsperday'] = $vbulletin->userinfo['posts'];
}
else
{
$vbulletin->userinfo['postsperday'] = vb_number_format(str_replace(',', '', $vbulletin->userinfo['posts']) / $jointime, 2);
}

$vbulletin->userinfo['postpercent'] = vb_number_format(((str_replace(',', '', $vbulletin->userinfo['posts']) / $exec_totalposts ) * 100),2);

$vbulletin->userinfo['newposts'] = $db->query_first("SELECT COUNT(*) AS newposts FROM " . TABLE_PREFIX . "post WHERE dateline >= '{$vbulletin->userinfo['lastvisit']}' AND visible = '1'");
$vbulletin->userinfo['newposts'] = vb_number_format($vbulletin->userinfo['newposts']['newposts']);

$vbulletin->userinfo['newthreads'] = $db->query_first("SELECT COUNT(*) AS newthreads FROM " . TABLE_PREFIX . "thread WHERE dateline >= '{$vbulletin->userinfo['lastvisit']}' AND visible = '1' AND sticky in(0,1)");
$vbulletin->userinfo['newthreads'] = vb_number_format($vbulletin->userinfo['newthreads']['newthreads']);

$vbulletin->userinfo['lastvisit'] = vbdate($vbulletin->options['timeformat'], $vbulletin->userinfo['lastvisit']) . ', ' . vbdate($vbulletin->options['dateformat'], $vbulletin->userinfo['lastvisit']);

$exec_lastposts = $db->query_first("SELECT COUNT(*) AS lastposts FROM " . TABLE_PREFIX . "post WHERE visible = 1 AND dateline >= ".(TIMENOW - 86400));
$exec_lastposts = vb_number_format($exec_lastposts['lastposts']);

$vbulletin->templatecache['FORUMHOME'] = str_replace('$navbar','$navbar ' . $vbulletin->templatecache['forumhome_welcomepanel_' . $vbulletin->options['wp_style']],$vbulletin->templatecache['FORUMHOME']);
}

Replace the code in the "main" plugin (under Welcome Panel Template Rewrite) and see if it works...

The only reason I'm not updating it to vb3.0.6 (will do later) is that I'm adding more features and stuff...

Spookysalem
18 May 2007, 09:44
Wicked that worked a treat thanks King.

I have one more thing to ask...at the top of the panel i have Welcome back : (username) (AVC) <---where can i go to remove this..

Tri@de
18 May 2007, 10:21
Hmmm something wrong...
i log in and i see:
Threre are 45,848 new posts and 4,945 threads since your last visit 01:00, 01 gen 70.

Mrdby
18 May 2007, 18:05
Upload Them Iimages In What Folder In The Image File?

King Kovifor
18 May 2007, 20:37
Wicked that worked a treat thanks King.

I have one more thing to ask...at the top of the panel i have Welcome back : (username) (AVC) <---where can i go to remove this..

It says AVC still?! Dang-It! It's in the forumhome_welcomepanel_avc template.

Hmmm something wrong...
i log in and i see:
Threre are 45,848 new posts and 4,945 threads since your last visit 01:00, 01 gen 70.

The last visit seems to be messing up somehow... I'm guessing you have 45,848 posts and 9,495 threads on your forum? Will look into.

Upload Them Iimages In What Folder In The Image File?

Upload them into the root image directory (also get the noavatar.gif from ZT, will add in a later release)... You can place them else where using the Image Path setting.

Mrdby
18 May 2007, 20:38
Thanks..and ummm who is ZT? lol

Mrdby
18 May 2007, 20:46
why can't i view forum leaders if i'm admin?

Mrdby
18 May 2007, 20:54
OK INSTALLED...This is a nice mod!!!!

Mrdby
18 May 2007, 20:56
http://www.vbulletin.org/forum/showthread.php?t=123886 This doesn't work with your hack. ANy ideas?

King Kovifor
19 May 2007, 14:10
Thanks..and ummm who is ZT? lol

Zero Tolerance. He wrote the original one that I evolved.

why can't i view forum leaders if i'm admin?

What do you mean?

OK INSTALLED...This is a nice mod!!!!

Glad you like it.

http://www.vbulletin.org/forum/showthread.php?t=123886 This doesn't work with your hack. ANy ideas?

Not sure why not... Any errors?

masons
19 May 2007, 15:07
fantastic add-on! A top asset to the site and community!

The Scriblerian
19 May 2007, 22:13
It's working great.

Small question though, for some reason where it reads "Welcome back (Insert name)!" It has a strange (AVC) after it. Like

"Welcome back The Scriblerian! (AVC)" What is this?

EDIT: Stupid me...I should really read back before I post these kind of things. I believe I saw the answer at the top of the page.

King Kovifor
20 May 2007, 16:01
It's working great.

Small question though, for some reason where it reads "Welcome back (Insert name)!" It has a strange (AVC) after it. Like

"Welcome back The Scriblerian! (AVC)" What is this?

EDIT: Stupid me...I should really read back before I post these kind of things. I believe I saw the answer at the top of the page.

That (AVC) would be (Avatar Center) I believe... I added that for testing purposes.

Philipaclayton
20 May 2007, 17:08
installed. great hack

King Kovifor
20 May 2007, 17:24
installed. great hack

Thanks... The original code was by Zero Tolerance.

random1
20 May 2007, 22:23
thank you and thank Zero, this is great!!!! i would rather it be at the bottom of the page but untill i figure out how to do this stuff, i'll be happy i got it running!

thanks agian!

King Kovifor
20 May 2007, 23:30
thank you and thank Zero, this is great!!!! i would rather it be at the bottom of the page but untill i figure out how to do this stuff, i'll be happy i got it running!

thanks agian!

The plugin replaces $navbar with $navbar fetch_template('forumhome_welcomepanel_' . $style);

so it's hard coded at the top.

UncoderMom
21 May 2007, 00:40
The plugin replaces $navbar with $navbar fetch_template('forumhome_welcomepanel_' . $style);

so it's hard coded at the top.


Is there a way to get rid of that? I have stuff that Id like to put before it and I cant..so Ive been just dealing ;)

But I would love to turn off the hook and do the edit manually! :D

How could I do this?:cool:

King Kovifor
21 May 2007, 01:05
Well... UncoderMom, you could modify the plugin to use a variable for the template... I'll whip up the code for you.

if ($vbulletin->userinfo['userid'] > 0 && $vbulletin->userinfo['userid'] != '' || !$vbulletin->userinfo['userid'])
{
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($vbulletin->options['wp_forumimagelink'] . '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" alt="Edit Your Avatar" />';

$postsin = array();
$gp = $db->query_read("SELECT p.threadid, t.forumid FROM " . TABLE_PREFIX . "post p LEFT JOIN " . TABLE_PREFIX . "thread t ON(t.threadid = p.threadid) WHERE p.userid = {$vbulletin->userinfo['userid']}");
while ($gpb = $db->fetch_array($gp))
{
if (!$postsin[$gpb['forumid']])
{
$postsin[$gpb['forumid']] = 1;
}
else
{
$postsin[$gpb['forumid']]++;
}
}

$active = array(0);

if (is_array($postsin) && is_array($vbulletin->forumcache))
{
foreach ($postsin as $forumid => $pi)
{
if ($pi > $active[0])
{
$active = array($pi, $forumid);
}
}
}

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;
}

$vbulletin->userinfo['posts'] = vb_number_format($vbulletin->userinfo['posts']);
$jointime = (TIMENOW - $vbulletin->userinfo['joindate']) / 86400;

if ($jointime < 1)
{
$vbulletin->userinfo['postsperday'] = $vbulletin->userinfo['posts'];
}
else
{
$vbulletin->userinfo['postsperday'] = vb_number_format(str_replace(',', '', $vbulletin->userinfo['posts']) / $jointime, 2);
}

$vbulletin->userinfo['postpercent'] = vb_number_format(((str_replace(',', '', $vbulletin->userinfo['posts']) / $exec_totalposts ) * 100),2);

$vbulletin->userinfo['newposts'] = $db->query_first("SELECT COUNT(*) AS newposts FROM " . TABLE_PREFIX . "post WHERE dateline >= '{$vbulletin->userinfo['lastvisit']}' AND visible = '1'");
$vbulletin->userinfo['newposts'] = vb_number_format($vbulletin->userinfo['newposts']['newposts']);

$vbulletin->userinfo['newthreads'] = $db->query_first("SELECT COUNT(*) AS newthreads FROM " . TABLE_PREFIX . "thread WHERE dateline >= '{$vbulletin->userinfo['lastvisit']}' AND visible = '1' AND sticky in(0,1)");
$vbulletin->userinfo['newthreads'] = vb_number_format($vbulletin->userinfo['newthreads']['newthreads']);

$vbulletin->userinfo['lastvisit'] = vbdate($vbulletin->options['timeformat'], $vbulletin->userinfo['lastvisit']) . ', ' . vbdate($vbulletin->options['dateformat'], $vbulletin->userinfo['lastvisit']);

$exec_lastposts = $db->query_first("SELECT COUNT(*) AS lastposts FROM " . TABLE_PREFIX . "post WHERE visible = 1 AND dateline >= ".(TIMENOW - 86400));
$exec_lastposts = vb_number_format($exec_lastposts['lastposts']);

$welcomepanel = $vbulletin->templatecache['forumhome_welcomepanel_' . $vbulletin->options['wp_style']];
}

Try that... Just place $welcomepanel in your template...

UncoderMom
21 May 2007, 04:53
Okay.. I did that but its not rendering now... No mater where I place it ..dunno...

King Kovifor
21 May 2007, 12:02
OK Try...

if ($vbulletin->userinfo['userid'] > 0 && $vbulletin->userinfo['userid'] != '' || !$vbulletin->userinfo['userid'])
{
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($vbulletin->options['wp_forumimagelink'] . '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" alt="Edit Your Avatar" />';

$postsin = array();
$gp = $db->query_read("SELECT p.threadid, t.forumid FROM " . TABLE_PREFIX . "post p LEFT JOIN " . TABLE_PREFIX . "thread t ON(t.threadid = p.threadid) WHERE p.userid = {$vbulletin->userinfo['userid']}");
while ($gpb = $db->fetch_array($gp))
{
if (!$postsin[$gpb['forumid']])
{
$postsin[$gpb['forumid']] = 1;
}
else
{
$postsin[$gpb['forumid']]++;
}
}

$active = array(0);

if (is_array($postsin) && is_array($vbulletin->forumcache))
{
foreach ($postsin as $forumid => $pi)
{
if ($pi > $active[0])
{
$active = array($pi, $forumid);
}
}
}

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;
}

$vbulletin->userinfo['posts'] = vb_number_format($vbulletin->userinfo['posts']);
$jointime = (TIMENOW - $vbulletin->userinfo['joindate']) / 86400;

if ($jointime < 1)
{
$vbulletin->userinfo['postsperday'] = $vbulletin->userinfo['posts'];
}
else
{
$vbulletin->userinfo['postsperday'] = vb_number_format(str_replace(',', '', $vbulletin->userinfo['posts']) / $jointime, 2);
}

$vbulletin->userinfo['postpercent'] = vb_number_format(((str_replace(',', '', $vbulletin->userinfo['posts']) / $exec_totalposts ) * 100),2);

$vbulletin->userinfo['newposts'] = $db->query_first("SELECT COUNT(*) AS newposts FROM " . TABLE_PREFIX . "post WHERE dateline >= '{$vbulletin->userinfo['lastvisit']}' AND visible = '1'");
$vbulletin->userinfo['newposts'] = vb_number_format($vbulletin->userinfo['newposts']['newposts']);

$vbulletin->userinfo['newthreads'] = $db->query_first("SELECT COUNT(*) AS newthreads FROM " . TABLE_PREFIX . "thread WHERE dateline >= '{$vbulletin->userinfo['lastvisit']}' AND visible = '1' AND sticky in(0,1)");
$vbulletin->userinfo['newthreads'] = vb_number_format($vbulletin->userinfo['newthreads']['newthreads']);

$vbulletin->userinfo['lastvisit'] = vbdate($vbulletin->options['timeformat'], $vbulletin->userinfo['lastvisit']) . ', ' . vbdate($vbulletin->options['dateformat'], $vbulletin->userinfo['lastvisit']);

$exec_lastposts = $db->query_first("SELECT COUNT(*) AS lastposts FROM " . TABLE_PREFIX . "post WHERE visible = 1 AND dateline >= ".(TIMENOW - 86400));
$exec_lastposts = vb_number_format($exec_lastposts['lastposts']);

$welcomepanel = fetch_template('forumhome_welcomepanel_' . $vbulletin->options['wp_style']);
}

DaNIEL MeNTED
21 May 2007, 13:25
I upgraded but had to step back to the previous version as my counts were all screwed up as well...

UncoderMom
21 May 2007, 14:07
nope.. It shows raw plug in code on forumhome :eek:

I am supposed to replace the main with that code.. correct?

King Kovifor
21 May 2007, 20:41
I upgraded but had to step back to the previous version as my counts were all screwed up as well...

Wonder why... I'll look into it...

nope.. It shows raw plug in code on forumhome :eek:

I am supposed to replace the main with that code.. correct?

Yeah... Don't do that then... :( Maybe revert back? For now..

Rider69
23 May 2007, 05:53
I would like additional links to the USER CP area of the template, like after the "Your Profile" link I would like to add a Donate link or an Announcement link. How can I do that?

King Kovifor
23 May 2007, 12:08
I would like additional links to the USER CP area of the template, like after the "Your Profile" link I would like to add a Donate link or an Announcement link. How can I do that?

Use the "Admin Links"/"Useful Links" section of your template... For the announcement link, set up your announcement forum settings or your latest announcement settings... Admin Links show up as it's own little section, but it's the easiest way to add it to all of them.

Lpspider
01 Jun 2007, 17:14
If I would like to decrease the font size, how would I go about doing this?

King Kovifor
01 Jun 2007, 20:35
Gotta mess with the style...

King Kovifor
01 Jun 2007, 20:36
It has to do with the style

Lpspider
02 Jun 2007, 23:37
I tried a little... couldn't come up with it. Any ideas?

vitrag24
03 Jun 2007, 20:48
how to update from 3.0.4 to 3.0.5?

King Kovifor
04 Jun 2007, 02:18
Remove ZT's plugins, upload product.xml - customize.

About the style, not sure... I don't know why the fonts are always larger. I use style definitions from your style...

vitrag24
04 Jun 2007, 21:47
i have uploaded 3image files and imported xml file and overwrite with existing xml of 3.0.4
thats all?
after doing i got db error
where i made mistake?
and wht do u mean by customize after importing xml file

plz reply fast as i have disabled this cool addon rightnow due to db error

vitrag24
05 Jun 2007, 18:19
no reply yet?
:(
plz buddy i need help

morrow
06 Jun 2007, 00:19
Excellent! Installed / no issues / looks great! / clicked install!

Thanks!

King Kovifor
06 Jun 2007, 12:06
vitrag, please PM me admin login info so that I can check your install. Something had to have gone wrong. And do you know the error?

vitrag24
06 Jun 2007, 12:12
Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT COUNT(*) AS newposts FROM vb3_post WHERE dateline >= 02:54 PM, 06-06-2007 AND visible = 1;

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 ':54 PM, 06-06-2007 AND visible = 1' at line 1
Error Number : 1064
Date : Wednesday, June 6th 2007 @ 07:11:36 AM
Script : http://www.medicalgeek.com/index.php
Referrer : http://www.medicalgeek.com/index.php
IP Address : ***********
Username : vitrag24
Classname : vb_database

i got this error
well can u come on yahoo now plz? that was cool hack but messed up in upgrading 3.0.4 to 3.0.5
:(

Snider
06 Jun 2007, 13:11
My question would be - how do I turn off the default stats - I don't want them to show along with your mod

Great MOD by the way !!

Installed !

vitrag24
06 Jun 2007, 19:25
i removed 3.0.5 plugin and installed 2.0.2..now no db error
i think 3.0.4 isnt compitable with vb 3.6.4?
as even ur 3.0.4 version was fine with me but after replcaing with 3.0.5 i got db error and now i havent even 3.0.4 xml plugin

well plz give me solution to run this updated version or give 3.0.4 file

is there anything i need to customize after replacing with 3.0.5?i havent done any cusomization after addin..db error was due to it?
but in 2.2 no prb like this

King Kovifor
07 Jun 2007, 01:07
i removed 3.0.5 plugin and installed 2.0.2..now no db error
i think 3.0.4 isnt compitable with vb 3.6.4?
as even ur 3.0.4 version was fine with me but after replcaing with 3.0.5 i got db error and now i havent even 3.0.4 xml plugin

well plz give me solution to run this updated version or give 3.0.4 file

is there anything i need to customize after replacing with 3.0.5?i havent done any cusomization after addin..db error was due to it?
but in 2.2 no prb like this

Your error is being caused by not adding the patch... The patch is found here: http://www.vbulletin.org/forum/showpost.php?p=1249707&postcount=151

King Kovifor
07 Jun 2007, 01:09
My question would be - how do I turn off the default stats - I don't want them to show along with your mod

Great MOD by the way !!

Installed !

Remove the code in the forumhome template. I might add a conditional to 3.0.6 which is under development and may be a long while away since I can't figure out stuff... I'm trying to get it to show once...

vitrag24
07 Jun 2007, 10:07
i replaced particular text and imported plugin
i got db error
even i'm unable to disable it from acp
db error in acp too
:(
plz tell me wht to do
due to only 1 addon i dont wanna mess up my forum

vitrag24
07 Jun 2007, 12:33
well i disabled plugin via editing config.php
and rollbacked to 2.1
if possible then give me atleast 3.0.4 or tell rightway to run 3.0.5
now i really disappointed with ur updated plugin
even after patching not only iy doesnt work but messed with my db

Snider
07 Jun 2007, 12:42
Remove the code in the forumhome template. I might add a conditional to 3.0.6 which is under development and may be a long while away since I can't figure out stuff... I'm trying to get it to show once...

A little more help would be great here. What code am I looking for ?

King Kovifor
07 Jun 2007, 23:32
A little more help would be great here. What code am I looking for ?

I can't remember off the top of my head. I'm on my dad's account so I don't have access to my usual vB resouces. I'll get back to you hopefully tonight.

well i disabled plugin via editing config.php
and rollbacked to 2.1
if possible then give me atleast 3.0.4 or tell rightway to run 3.0.5
now i really disappointed with ur updated plugin
even after patching not only iy doesnt work but messed with my db

Can you send me login details. I'm not sure why 3.0.5 is doing this to your system, as your the only one who has experienced this problem. I no longer have 3.0.4 - or I shouldn't.

vitrag24
08 Jun 2007, 19:29
hmm..
buddy can u upload and sent me link of patched xml file if u dont wanna attach here

King Kovifor
08 Jun 2007, 20:29
hmm..
buddy can u upload and sent me link of patched xml file if u dont wanna attach here

All you have to do is replace the "Main" plugin with the patch I sent. I'm working on 3.0.6 which includes several new features. I don't have 3.0.5's file on my computer...

vitrag24
10 Jun 2007, 05:43
anyone have 3.0.4 then plz give me
pm me if u have

GuaRRand
13 Jun 2007, 14:46
It doesnt seem to overwrite the original welcome panel... just put it underneath it.. so now i got 2 welcome panels

www.glcoti.com

Anythyinhg i need to change?

GuaRRand
13 Jun 2007, 15:20
Also, could something be implemented that shows the top 5 posters of the past 24 hours?
instead of alot of text summing up stats, show a neat row of the 5 top posters!?

Something like -> hxxp://www.crapforum.nl/

vitrag24
13 Jun 2007, 17:55
post screenshots as only registered members can see ur welcome panel

Dotara
13 Jun 2007, 19:50
It doesnt seem to overwrite the original welcome panel... just put it underneath it.. so now i got 2 welcome panels

www.glcoti.com (http://www.glcoti.com)

Anythyinhg i need to change?

Yes you're right. It's not overwriting the original welcome panel. Attached the screen shot .. anyway to fix it?

King Kovifor
13 Jun 2007, 20:45
Yes you're right. It's not overwriting the original welcome panel. Attached the screen shot .. anyway to fix it?

Did you remove the ZT plugins and the welcomepanel template from ZT? If this is your first install?

Dotara
13 Jun 2007, 21:13
Did you remove the ZT plugins and the welcomepanel template from ZT? If this is your first install?

Hi,

Yes, this is my first install. So I do not have ZT's plugins installed.

King Kovifor
14 Jun 2007, 01:43
Hi,

Yes, this is my first install. So I do not have ZT's plugins installed.

Hm... Maybe a malfunctioning plugin. Do you have two? If you would like I could better investigate this with Admin login. I'm not sure why it would do such a thing.

Dotara
14 Jun 2007, 01:51
Hm... Maybe a malfunctioning plugin. Do you have two? If you would like I could better investigate this with Admin login. I'm not sure why it would do such a thing.

Admin login sent on PM. Thanks.

King Kovifor
14 Jun 2007, 01:52
Admin login sent on PM. Thanks.

I will be right on it.

King Kovifor
14 Jun 2007, 01:58
You were saying that you have two copies of it, right?

o0Hubba0o
14 Jun 2007, 03:54
the new posts area, all it says is "There's been" and thats it. Below that is says "don't forget to read the rules" and has the rules linked, but the new posts are doing anything. Went through and removed previous ZT installs.

Any ideas on where to go from here to fix this issue?

King Kovifor
14 Jun 2007, 03:55
the new posts area, all it says is "There's been" and thats it. Below that is says "don't forget to read the rules" and has the rules linked, but the new posts are doing anything. Went through and removed previous ZT installs.

Any ideas on where to go from here to fix this issue?

Can you give a screenshot?

Dotara
14 Jun 2007, 18:28
You were saying that you have two copies of it, right?

No No. Please check the past image I've attached. There it's showing 2 welcome block. I thought it's gonna overrite the Welcome, nibirr with this plugi's one.

King Kovifor
14 Jun 2007, 22:42
No No. Please check the past image I've attached. There it's showing 2 welcome block. I thought it's gonna overrite the Welcome, nibirr with this plugi's one.

Nope. It adds the welcome box that you see.

GuaRRand
15 Jun 2007, 09:42
Ok, so its supposed to work that way?

Kinda silly isnt it?...

Now i have 2 welcome panels... one the original and one urs..

It makes more sense to replace one.... both show me info about PM's, Time, My name, New posts etc.. i just like urs more..so i want to replace the original..

Any ideas?

King Kovifor
16 Jun 2007, 00:16
Ok, so its supposed to work that way?

Kinda silly isnt it?...

Now i have 2 welcome panels... one the original and one urs..

It makes more sense to replace one.... both show me info about PM's, Time, My name, New posts etc.. i just like urs more..so i want to replace the original..

Any ideas?

Delete the panel code from navbar template. It'll say <if conditional=="$show['member']"> I think.

RvG2
16 Jun 2007, 12:29
I have noticed this is using 8 sql queries? Is it possible to have option to choose to put what I want to show and of corz reduce query if don't need it. :)

King Kovifor
16 Jun 2007, 15:41
I have noticed this is using 8 sql queries? Is it possible to have option to choose to put what I want to show and of corz reduce query if don't need it. :)

Check the options. Several things can be turned off.

obmob
17 Jun 2007, 03:36
Hello, is there a way to show this panel vertical?

Instead of right, center and left... top, middle, down? :p

Maybe it can be done changing the templates, but how do i move the welcome panel from the top to one side?

Should i search for some variable in FORUMHOME?

Thanks :D

King Kovifor
17 Jun 2007, 17:33
Hello, is there a way to show this panel vertical?

Instead of right, center and left... top, middle, down? :p

Maybe it can be done changing the templates, but how do i move the welcome panel from the top to one side?

Should i search for some variable in FORUMHOME?

Thanks :D

That would take a lot of messing with the templates. The panel is attached to the $navbar template...

o0Hubba0o
18 Jun 2007, 04:41
Can you give a screenshot?

Here you go King. Is it possible I missed something?

King Kovifor
18 Jun 2007, 14:05
Here you go King. Is it possible I missed something?

You may have not been given a proper update by vBulletin... Make sure that your "wp_unread" phrase says:

There have been <b>{1}</b> post{7} and <b>{2}</b> thread{8} since your last visit at {3}. The time is currently {4}, on {5}. You have <a href="private.php">{6}</a> unread Private Messages.

Evaporate
18 Jun 2007, 19:56
Installed. Thanks.:)

o0Hubba0o
19 Jun 2007, 04:22
You may have not been given a proper update by vBulletin... Make sure that your "wp_unread" phrase says:

There have been <b>{1}</b> post{7} and <b>{2}</b> thread{8} since your last visit at {3}. The time is currently {4}, on {5}. You have <a href="private.php">{6}</a> unread Private Messages.

It's there with an exact match. I just tried uninstalling it, re-downloaded the files and uploaded the product again, but still there. I'm going to check some of my other mods to see if they could be interfering somehow.

obmob
19 Jun 2007, 04:33
That would take a lot of messing with the templates. The panel is attached to the $navbar template...Yeah, i found out... too bad it doesn't fit my style :(

I have so many things around navbar :p
Thanks

LPH2004
19 Jun 2007, 04:54
Excellent. Marked as installed.

Within minutes of installing, the chatbox was filled with comments about the new welcome back header. Very cool. :D

GuaRRand
19 Jun 2007, 09:49
Delete the panel code from navbar template. It'll say <if conditional=="$show['member']"> I think.

Ok, found that... we're almost there :P
Now how do i get your welcome panel to be put in the same place as the default welcome bit
Its not in the navbar atm... is it a simpel matter of movign it up a few notces?

King Kovifor
20 Jun 2007, 02:59
Yeah, i found out... too bad it doesn't fit my style :(

I have so many things around navbar :p
Thanks

Sorry...

It's there with an exact match. I just tried uninstalling it, re-downloaded the files and uploaded the product again, but still there. I'm going to check some of my other mods to see if they could be interfering somehow.

I think it may be in the template / plugin. I'm not sure what the problem could be... I'll look at it if you want.

Ok, found that... we're almost there :P
Now how do i get your welcome panel to be put in the same place as the default welcome bit
Its not in the navbar atm... is it a simpel matter of movign it up a few notces?

My panel there probably wouldn't be the best... Go to the last </if> for that conditional.

:Judge:
20 Jun 2007, 06:15
Installed and working just fine, thank you again.

I do have some changes that I would like to make and not having much luck doing it neatly, I may drop back in looking for a couple of tips or suggestions.

Silvio
05 Jul 2007, 01:36
ty so much for great share. working really :up:

just a Very odd issue, and is visible only on translated version.

post per day are always showing 0.00 . Obviously the parameter in the translation for that field is {3}. All the other numbers are perfectly shown.

<b>&raquo;</b> Hai scritto <b>{1}</b> post e <b>{2}</b> Argomenti.
<br /><b>&raquo;</b> La Tua media personale è di <b>{3}</b> post al giorno.
<br /><b>&raquo;</b> Ti farà piacere sapere di aver scritto il <b>{4}%</b> dei Post di questa Comunità. - Grazie del Tuo contributo!<br />


I Attach 2 pics that will better explain

apologises for my terrible itanglish

take care


ciao

King Kovifor
05 Jul 2007, 04:40
It has to do with the templates. Are any of the templates edited? Specifically forumhome_welcomepanel_def...

Silvio
05 Jul 2007, 18:33
As far as I know nope.

In any case just to be more shure I unistalled and reinstalled the hack, then tried to revert all forumhome_welcomepanel_ ..but still same issue.

take care

ciao:)

King Kovifor
05 Jul 2007, 23:53
Did you translate this yourself? I can't figure out what it's not doing that except something in the templates / plugins.

Silvio
06 Jul 2007, 00:18
yep! i did translate myself.

lol an interesting thing is that the issue is with my admin account only. i have 3 more personal testing accounts on the board and they are working perfectly. i should ask my users too (no one complained yet)

it is really strange! what could be related to admin account?

ty

take care

ciao

King Kovifor
06 Jul 2007, 00:22
HM... May I have ACP access? It seems extremely isolated to your account, and probably is something to do with plugins. Me looking would be faster (unless you want to try this way and don't trust me. :D)

Silvio
06 Jul 2007, 00:26
for sure i prepare for u an admin account with all privileges. 2 mins and i'll pm u details

Silvio
06 Jul 2007, 00:46
PMed u details.

by the way would be great to have some more of those little squared images (icons) :P for some internal link like radio or gallery :P) did u made them?

ericgray
06 Jul 2007, 21:15
i think it's aworthy hack, but i'd like to see it shown once, upon login, and then have it disappear --

-- it's too much to be always up there, each time you hit forum-home --

fusiongoddess
06 Jul 2007, 21:56
Thanks so much for this mod. It rocks! My users love it so far.

Silvio
07 Jul 2007, 01:02
Just an hint.
You should add some more phrases to avoid your templates be hand modified.

Infact when and if enabling images (text/images selection) this 3 sentences are hardcoded.

1) New Posts
2) Get daily posts
3) Edit Profile.

I do know that they are onmouseover/popping-up sentences but will be nice ;)

I do confirm that your test Adm Account is still there and I PMed u yesterday all details.

Have a nice weekend

take care

King Kovifor
07 Jul 2007, 15:24
Just an hint.
You should add some more phrases to avoid your templates be hand modified.

Infact when and if enabling images (text/images selection) this 3 sentences are hardcoded.

1) New Posts
2) Get daily posts
3) Edit Profile.

I do know that they are onmouseover/popping-up sentences but will be nice ;)

I do confirm that your test Adm Account is still there and I PMed u yesterday all details.

Have a nice weekend

take care

Thanks. I should fix that in the next release.

i think it's aworthy hack, but i'd like to see it shown once, upon login, and then have it disappear --

-- it's too much to be always up there, each time you hit forum-home --

I'm working on that.

PMed u details.

by the way would be great to have some more of those little squared images (icons) :P for some internal link like radio or gallery :P) did u made them?

Nope I didn't.

steadicamop
13 Jul 2007, 13:05
--edit--

Ignore me ... having a bad day - resolved my issues (for future reference, if it appears twice, the two plugins are under the "vbulletin" set)

steadicamop
13 Jul 2007, 13:22
Is there any way to remove the gap between Unread Private Messages and Latest Announcements? It's about three lines and looks a little untidy....

Cheers

Jason

fox3nova
14 Jul 2007, 06:40
Can I put this mod in the forumdisplay page ?

King Kovifor
14 Jul 2007, 15:48
With plugin modifications yes. I've never done it but...

Magnumutz
14 Jul 2007, 16:27
Dude, please ignore what Silvio just said about phrases... it would be soo cool to have it not phrased (as limits allow), so anyone can easily costumize... Like an open source software.

King Kovifor
14 Jul 2007, 17:22
It already is completely phrased. He would prefer for me to break some of the phrases up for better customization of the look and feel.

MDK-Indy
14 Jul 2007, 17:58
I have "you own 3.812,87% of the forums posts"

how i can fix this Bug?

greeting Indy

King Kovifor
14 Jul 2007, 21:28
Hm. That has something wrong with the plugin. Is it translated and what is your number format?

fox3nova
15 Jul 2007, 05:50
how to display the panel in the forumdisplay page and cmps page ?

King Kovifor
15 Jul 2007, 14:47
I have never done it but, the plugin uses THIS_SCRIPT i think. So change change the original if()...

steadicamop
18 Jul 2007, 22:06
How do I exclude certain forums from being shown for new posts and threads (ie Admin/Mod only) - I have a funny feeling I've already covered this but have forgotten - is it a template change? I can't see anything AdminCP side.

Cheers

Jason