View Full Version : Forum Home Enhancements - Welcome Panel Template Rewrite
King Kovifor
06-11-2006, 10:00 PM
Introduction:
When I first installed Zero Tolerence's Welcome Panel (https://vborg.vbsupport.ru/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:
https://vborg.vbsupport.ru/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
06-12-2006, 04:01 PM
I'd very much like to seen your screenshots, this looks quite nice! :D
Snake
06-12-2006, 05:37 PM
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! :)
* Snake clicks on install
King Kovifor
06-12-2006, 05:59 PM
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
06-12-2006, 07:06 PM
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
06-12-2006, 10:43 PM
Great idea ;)
(click Install)
King Kovifor
06-12-2006, 11:05 PM
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
06-13-2006, 02:50 AM
does this work for 3.5.4
King Kovifor
06-13-2006, 10:19 PM
does this work for 3.5.4
Visit the 3.5.x thread (https://vborg.vbsupport.ru/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.
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
06-14-2006, 11:36 PM
is it possible to resize the avatar only for the welcome panel?
Digital2
06-15-2006, 03:02 PM
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
06-15-2006, 03:03 PM
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
06-15-2006, 04:45 PM
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
06-15-2006, 08:09 PM
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
06-15-2006, 08:21 PM
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
06-19-2006, 11:08 AM
Look nice! Thanks!
Scooterpig
06-21-2006, 05:46 AM
Where are the supplied images supposed to show up, cause they are not showing for me..:(
King Kovifor
06-21-2006, 05:22 PM
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
06-22-2006, 06:59 AM
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
06-22-2006, 09:03 PM
Great job :)
Looks good and works with 3.6 beta 3.
What templates are edited because i want to change some things.
993ti
06-22-2006, 09:13 PM
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
06-23-2006, 06:48 AM
It should be images/misc/ (trailingslash) ;)
That did it, thank you mate..:)
futureye
06-23-2006, 08:17 AM
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
06-23-2006, 10:14 PM
you also need to upload Zero tolerance's version (but don't do the template edits).
Staxed
07-01-2006, 09:27 AM
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
07-01-2006, 07:58 PM
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-07-2006, 03:09 PM
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-07-2006, 05:06 PM
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
07-16-2006, 12:59 PM
So what are we to do first, import a 3.54 version then overwrite it with this
King Kovifor
07-17-2006, 12:24 PM
You need Zero Tolerence's hack for vB 3.5.4 installed than you install this.
Staxed
07-18-2006, 07:20 AM
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
07-20-2006, 11:15 AM
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
07-21-2006, 05:26 PM
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
07-29-2006, 11:36 PM
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
07-30-2006, 03:04 AM
Also on it's way is a french translation.
I confirm :cool:
Staxed
07-30-2006, 07:31 AM
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
08-05-2006, 07:00 PM
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
08-05-2006, 11:29 PM
Click on [revert] because it's a "custom" template and it's default is blank and it'll delete it.
Gottcha
08-05-2006, 11:51 PM
ok...i reverted the template and its still showing up.
http://www.fragtraders.com/forums/index.php
Mythotical
08-06-2006, 07:44 AM
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
08-06-2006, 12:52 PM
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
08-06-2006, 01:55 PM
Does anyone find this makes a significant slow page opening for your forum home?
Mythotical
08-07-2006, 08:07 PM
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
08-07-2006, 08:38 PM
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
08-12-2006, 05:01 PM
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
08-13-2006, 08:50 PM
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
08-16-2006, 12:57 PM
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
08-18-2006, 08:50 AM
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
08-26-2006, 04:30 PM
Fixed nvm :-)
Alcatraz
King Kovifor
08-26-2006, 04:32 PM
I'm not sure. That's a plugin problem. You'll need ZT's help for that one.
Warlord
09-18-2006, 01:36 AM
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
09-18-2006, 07:53 AM
3.6.0 version?
King Kovifor
09-18-2006, 10:05 AM
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
09-18-2006, 02:11 PM
Thanks KK, that seems to have fixed it. Looks much better. :)
*Clicks Install*
King Kovifor
09-18-2006, 11:14 PM
Your Welcome. A mistake always plays a part in a bad install, but than again, we all do it.
AndrusW
09-22-2006, 07:43 AM
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
09-22-2006, 03:22 PM
um. I think so. Just add a <small> tag around any of the vBPhrases.
iran.gs
09-22-2006, 07:37 PM
installed, worked on 3.61 fine
Snake
09-26-2006, 04:19 PM
Thanks! Yup seems to work fine on 3.6.1. :)
brvheart
09-27-2006, 06:14 PM
is this still in beta?
Snake
09-27-2006, 08:38 PM
No and it works just fine. ;)
gamesmastervide
10-03-2006, 04:44 PM
i get sql errors while trying to install this mod..
King Kovifor
10-03-2006, 06:23 PM
i get sql errors while trying to install this mod..
Can you please post the SQL errors?
AMG021
10-05-2006, 09:46 PM
nice :)
King Kovifor
10-07-2006, 01:57 PM
nice :)
got it working?
DJ_aroms
10-12-2006, 01:36 AM
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
10-12-2006, 08:44 PM
I think the stats are Home Page specific that would be a plugin that I don't touch for now.
kronikdj
10-16-2006, 08:36 PM
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
10-23-2006, 06:30 PM
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
11-01-2006, 12:37 AM
thanks King...
optrex
11-25-2006, 08:59 AM
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
11-26-2006, 03:46 PM
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
11-27-2006, 08:43 AM
I found the issue. It doesn't like the "show spiders hack" https://vborg.vbsupport.ru/showthread.php?t=119134
King Kovifor
11-27-2006, 12:29 PM
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
11-30-2006, 05:21 PM
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
12-02-2006, 09:40 PM
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
12-02-2006, 10:11 PM
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
12-03-2006, 04:31 PM
Glad you figured it out. Sorry I couldn't help!
Oddjob
12-15-2006, 07:05 PM
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
01-24-2007, 07:29 AM
how do I move the welcome panel? I'd like to insert it in the navbar table...
Marco
King Kovifor
01-28-2007, 04:33 PM
Sorry it took me so long. :( I'm not sure, but it is in the plugin...
Snake
01-29-2007, 08:25 AM
Is there any updates on this yet?
King Kovifor
01-29-2007, 06:22 PM
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
02-24-2007, 05:32 PM
Version 3 has been released!
lovelypk
02-24-2007, 07:18 PM
How many queries it makes?
King Kovifor
02-24-2007, 07:20 PM
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
02-25-2007, 06:15 AM
Is it just me or are there no image files?
Arved Yagami
02-25-2007, 07:42 AM
There arent any image files in the zip.
rjmjr69
02-25-2007, 09:34 AM
No images no directions
King Kovifor
02-25-2007, 04:02 PM
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
02-25-2007, 11:16 PM
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
02-25-2007, 11:40 PM
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
02-25-2007, 11:47 PM
I use a full width skin, but was just curious what this looks like in relation to the rest of the forum.
King Kovifor
02-25-2007, 11:50 PM
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
02-26-2007, 12:14 AM
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
02-26-2007, 12:21 AM
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
02-26-2007, 12:54 AM
done, thanks for the help. I love the template.
Shana
02-28-2007, 11:09 PM
I don't see it, I uploaded the images / imported the .xml file.
Shana
02-28-2007, 11:14 PM
Fixed, forgot to install Zero Tolerance's mod.
Smoothie
03-01-2007, 01:17 AM
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-03-2007, 08:43 PM
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
03-06-2007, 04:21 PM
Can someone please tell me how can I remove this line
? You own 9.4% of the forums posts.
thanks.
King Kovifor
03-06-2007, 10:44 PM
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
03-07-2007, 03:03 PM
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
03-07-2007, 03:04 PM
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
03-07-2007, 08:20 PM
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
03-09-2007, 12:31 PM
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
03-09-2007, 02:34 PM
never mind I got it
perfphysio
03-09-2007, 03:37 PM
seems to have code for class="alt1" or class="alt12 in the welcome template. Is this to do with the font?
perfphysio
03-09-2007, 04:03 PM
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
03-09-2007, 09:16 PM
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
03-09-2007, 09:26 PM
Thanks, i'll give it a try
King Kovifor
03-10-2007, 12:40 AM
It's a nice idea... maybe another style option...
WebmasterSimds
03-15-2007, 09:25 PM
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
03-15-2007, 09:49 PM
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
03-15-2007, 10:44 PM
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
03-17-2007, 09:03 AM
Same here nothing changed on none of my skins,,
King Kovifor
03-17-2007, 02:59 PM
Can you capture a screenshot? I'll look at what you have, and attempt to locate it in the template.
steadicamop
03-22-2007, 04:08 PM
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
03-22-2007, 09:36 PM
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
03-22-2007, 09:53 PM
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
03-22-2007, 09:56 PM
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
03-23-2007, 03:57 PM
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
03-23-2007, 06:42 PM
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
03-23-2007, 08:06 PM
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
03-23-2007, 08:34 PM
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
03-23-2007, 08:35 PM
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
03-23-2007, 09:57 PM
Thank you for the quick update :) I'll install it now.
King Kovifor
03-23-2007, 09:58 PM
Your Welcome. Support is a key ingredient to a successful hack!
Ophelia
03-23-2007, 10:02 PM
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
03-24-2007, 01:46 PM
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
03-24-2007, 04:05 PM
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
03-24-2007, 05:55 PM
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
04-15-2007, 02:51 PM
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
04-16-2007, 03:16 PM
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
04-16-2007, 07:43 PM
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
04-18-2007, 08:16 PM
i like that
itorrents
04-20-2007, 03:29 AM
Looks much better with the border="0" added after the images in the template :)
King Kovifor
04-21-2007, 03:24 PM
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
04-23-2007, 12:30 AM
*installed*
King Kovifor
05-13-2007, 11:41 PM
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!
05-14-2007, 11:25 PM
it says i have 1 post....in 218 threads...i installed this hack perfectly im not sure whats good with it
legion!
05-14-2007, 11:31 PM
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
05-16-2007, 07:17 PM
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
05-17-2007, 06:41 AM
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
05-17-2007, 06:43 AM
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
05-17-2007, 10:54 AM
in 3.0.5 i get an error! the same as above
Spookysalem
05-17-2007, 02:09 PM
I am getting the same sql error.
King Kovifor
05-17-2007, 08:01 PM
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
05-17-2007, 08:15 PM
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
05-18-2007, 07:44 AM
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
05-18-2007, 08:21 AM
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
05-18-2007, 04:05 PM
Upload Them Iimages In What Folder In The Image File?
King Kovifor
05-18-2007, 06:37 PM
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
05-18-2007, 06:38 PM
Thanks..and ummm who is ZT? lol
Mrdby
05-18-2007, 06:46 PM
why can't i view forum leaders if i'm admin?
Mrdby
05-18-2007, 06:54 PM
OK INSTALLED...This is a nice mod!!!!
Mrdby
05-18-2007, 06:56 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=123886" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=123886</a> This doesn't work with your hack. ANy ideas?
King Kovifor
05-19-2007, 12:10 PM
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.
https://vborg.vbsupport.ru/showthread.php?t=123886 This doesn't work with your hack. ANy ideas?
Not sure why not... Any errors?
masons
05-19-2007, 01:07 PM
fantastic add-on! A top asset to the site and community!
The Scriblerian
05-19-2007, 08:13 PM
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
05-20-2007, 02:01 PM
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
05-20-2007, 03:08 PM
installed. great hack
King Kovifor
05-20-2007, 03:24 PM
installed. great hack
Thanks... The original code was by Zero Tolerance.
random1
05-20-2007, 08:23 PM
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
05-20-2007, 09:30 PM
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
05-20-2007, 10:40 PM
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
05-20-2007, 11:05 PM
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
05-21-2007, 02:53 AM
Okay.. I did that but its not rendering now... No mater where I place it ..dunno...
King Kovifor
05-21-2007, 10:02 AM
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
05-21-2007, 11:25 AM
I upgraded but had to step back to the previous version as my counts were all screwed up as well...
UncoderMom
05-21-2007, 12:07 PM
nope.. It shows raw plug in code on forumhome :eek:
I am supposed to replace the main with that code.. correct?
King Kovifor
05-21-2007, 06:41 PM
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
05-23-2007, 03:53 AM
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
05-23-2007, 10:08 AM
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
06-01-2007, 03:14 PM
If I would like to decrease the font size, how would I go about doing this?
King Kovifor
06-01-2007, 06:35 PM
Gotta mess with the style...
King Kovifor
06-01-2007, 06:36 PM
It has to do with the style
Lpspider
06-02-2007, 09:37 PM
I tried a little... couldn't come up with it. Any ideas?
vitrag24
06-03-2007, 06:48 PM
how to update from 3.0.4 to 3.0.5?
King Kovifor
06-04-2007, 12:18 AM
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
06-04-2007, 07:47 PM
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
06-05-2007, 04:19 PM
no reply yet?
:(
plz buddy i need help
morrow
06-05-2007, 10:19 PM
Excellent! Installed / no issues / looks great! / clicked install!
Thanks!
King Kovifor
06-06-2007, 10:06 AM
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-06-2007, 10:12 AM
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-06-2007, 11:11 AM
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-06-2007, 05:25 PM
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
06-06-2007, 11:07 PM
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: https://vborg.vbsupport.ru/showpost.php?p=1249707&postcount=151
King Kovifor
06-06-2007, 11:09 PM
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
06-07-2007, 08:07 AM
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
06-07-2007, 10:33 AM
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
06-07-2007, 10:42 AM
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
06-07-2007, 09:32 PM
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
06-08-2007, 05:29 PM
hmm..
buddy can u upload and sent me link of patched xml file if u dont wanna attach here
King Kovifor
06-08-2007, 06:29 PM
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
06-10-2007, 03:43 AM
anyone have 3.0.4 then plz give me
pm me if u have
GuaRRand
06-13-2007, 12:46 PM
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
06-13-2007, 01:20 PM
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
06-13-2007, 03:55 PM
post screenshots as only registered members can see ur welcome panel
Dotara
06-13-2007, 05:50 PM
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
06-13-2007, 06:45 PM
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
06-13-2007, 07:13 PM
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
06-13-2007, 11:43 PM
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
06-13-2007, 11:51 PM
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
06-13-2007, 11:52 PM
Admin login sent on PM. Thanks.
I will be right on it.
King Kovifor
06-13-2007, 11:58 PM
You were saying that you have two copies of it, right?
o0Hubba0o
06-14-2007, 01:54 AM
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
06-14-2007, 01:55 AM
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
06-14-2007, 04:28 PM
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
06-14-2007, 08:42 PM
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
06-15-2007, 07:42 AM
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
06-15-2007, 10:16 PM
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.
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
06-16-2007, 01:41 PM
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
06-17-2007, 01:36 AM
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
06-17-2007, 03:33 PM
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
06-18-2007, 02:41 AM
Can you give a screenshot?
Here you go King. Is it possible I missed something?
King Kovifor
06-18-2007, 12:05 PM
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
06-18-2007, 05:56 PM
Installed. Thanks.:)
o0Hubba0o
06-19-2007, 02:22 AM
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
06-19-2007, 02:33 AM
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
06-19-2007, 02:54 AM
Excellent. Marked as installed.
Within minutes of installing, the chatbox was filled with comments about the new welcome back header. Very cool. :D
GuaRRand
06-19-2007, 07:49 AM
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
06-20-2007, 12:59 AM
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:
06-20-2007, 04:15 AM
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
07-04-2007, 11:36 PM
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>»</b> Hai scritto <b>{1}</b> post e <b>{2}</b> Argomenti.
<br /><b>»</b> La Tua media personale ? di <b>{3}</b> post al giorno.
<br /><b>»</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
07-05-2007, 02:40 AM
It has to do with the templates. Are any of the templates edited? Specifically forumhome_welcomepanel_def...
Silvio
07-05-2007, 04:33 PM
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
07-05-2007, 09:53 PM
Did you translate this yourself? I can't figure out what it's not doing that except something in the templates / plugins.
Silvio
07-05-2007, 10:18 PM
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
07-05-2007, 10:22 PM
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
07-05-2007, 10:26 PM
for sure i prepare for u an admin account with all privileges. 2 mins and i'll pm u details
Silvio
07-05-2007, 10:46 PM
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
07-06-2007, 07:15 PM
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
07-06-2007, 07:56 PM
Thanks so much for this mod. It rocks! My users love it so far.
Silvio
07-06-2007, 11:02 PM
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-07-2007, 01:24 PM
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
07-13-2007, 11:05 AM
--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
07-13-2007, 11:22 AM
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
07-14-2007, 04:40 AM
Can I put this mod in the forumdisplay page ?
King Kovifor
07-14-2007, 01:48 PM
With plugin modifications yes. I've never done it but...
Magnumutz
07-14-2007, 02:27 PM
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
07-14-2007, 03:22 PM
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
07-14-2007, 03:58 PM
I have "you own 3.812,87% of the forums posts"
how i can fix this Bug?
greeting Indy
King Kovifor
07-14-2007, 07:28 PM
Hm. That has something wrong with the plugin. Is it translated and what is your number format?
fox3nova
07-15-2007, 03:50 AM
how to display the panel in the forumdisplay page and cmps page ?
King Kovifor
07-15-2007, 12:47 PM
I have never done it but, the plugin uses THIS_SCRIPT i think. So change change the original if()...
steadicamop
07-18-2007, 08:06 PM
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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.