vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Welcome Panel Template Rewrite v2.1 (https://vborg.vbsupport.ru/showthread.php?t=100672)

King Kovifor 11-12-2005 10:00 PM

Welcome Panel Template Rewrite v2.1
 
Introduction:

I found Zero Tolerence's Welcome Panel's template dull, and it had a lot of mistakes on my computer, and it shows up on a lot of the sites I visit that have it. It annoyed me so I threw together my own Template for his hack. This is it. I've called it Welcome Panel Template Rewrite, as that's exactly what it is. It's about to go into it's next version, so be on the look out.

This hack will not work if...

You must install this hack (Zero Tolerence's Welcome Panel) before my hack will work. It requires the plugins. Just don't follow the installation instructions for the template.

Installing:

All you have to do to install this hack is upload the .xml file that's attached to your Products Manager and it'll install the template and phrases.

Note: Be sure to chose the correct .xml! It is reccomended that you chose either v1.3 (location within zip: back releases/v1.x) or v2.1.1's XML file (main folder)!

v1.3 Features:
  • Displays New Posts
  • Avatar Display
  • Forum Stats
  • Fully Phrased
  • New Posts Link
  • Edit Profile Link
  • Edit Avatar Link
  • Most Active in.
  • Percent of Forum Posts
  • Posts Per Day
  • Number of Posts
  • Forum Stats
  • Collapsable

More Features will be added in v2.0. You can gain IMAGE links by PMing me.

v2.0 Features:
  • 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.
  • New! Show Version
  • New! Welcome Panel Style

Thanks to DaPro for Style Option #2!

Version 2.1.1 Addresses some bugs within the style.

Support:

I will give support in this thread.

Bugs:

Please report all bugs in this thread.

Special Thanks to...
  • Zero Tolerence - Zero told me how to add setting groups, settings, and everything with that sort.
  • lanc3lot - Thanks for making the buttons! Also for your great suggestions too!
  • GrendelKhan{TSU - For the fully phrased suggestion!
  • DaPro

Planned Features...
  • Top Poster (ETA: v2.2)
  • Your Thread Count (ETA: v2.2)
  • Customizable Favorite Forum Link: User Set (ETA: v2.2)

Planned Settings:
  • Default Welcome Panel (ETA: v2.2)
  • Font (ETA: v2.2)

Beta Testers:
  1. lanc3lot
  2. icemann

Screenshots Below.

PTO 11-12-2005 11:47 PM

Screenshot?

King Kovifor 11-12-2005 11:49 PM

OOPS. Added, thanks PTO!

rb290 11-13-2005 02:34 AM

thanks, pretty big difference

puertoblack2003 11-13-2005 03:41 AM

not bad looks cleaner****Installed****

Boofo 11-13-2005 09:30 AM

Please attach a text file with the instructions. ;)

loonytune15 11-13-2005 12:51 PM

I installed it but it dont loook right, problem with the last visit time, and the text is huge. reverted back to the original

kewl1uk 11-13-2005 12:59 PM

In VB 3.5.1 I don't have a forumhome_welcomepanel template. Any ideas?

Inferno Dragon 11-13-2005 01:12 PM

^ you need to install the welcome panel mod first! :)

kewl1uk 11-13-2005 01:21 PM

Quote:

Originally Posted by Inferno Dragon
^ you need to install the welcome panel mod first! :)

Silly ol' me! Now all I have to do is find it. Search here I come. Thanks for the info :)

kewl1uk 11-13-2005 01:50 PM

*clicks install* Thank you

King Kovifor 11-13-2005 01:58 PM

Quote:

Originally Posted by Boofo
Please attach a text file with the instructions. ;)

Will Do.

Quote:

Originally Posted by loonytune15
I installed it but it dont loook right, problem with the last visit time, and the text is huge. reverted back to the original

Will you do a screenshot for me? And Give me your template please.

gameslover 11-13-2005 03:41 PM

Is there a way to have it above the navbar like this panel : https://vborg.vbsupport.ru/showthread.php?t=83205 ?

It would be wonderful if it's possible :nervous:

Thank you :)

King Kovifor 11-13-2005 03:43 PM

Quote:

Originally Posted by gameslover
Is there a way to have it above the navbar like this panel : https://vborg.vbsupport.ru/showthread.php?t=83205 ?

It would be wonderful if it's possible :nervous:

Thank you :)

DO you want it to REPLACE your navbar section? I'd have to work on it, so give me some time. ;)

Gizmo5h1t3 11-13-2005 03:49 PM

shows out of line on mine...

try this one??

HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat" colspan="3" align="center">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_welcomepanel')"><img id="collapseimg_forumhome_welcomepanel" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_panel].gif" alt="" border="0" /></a>
                Welcome Back <a href='member.php?{$session[sessionurl]}u={$bbuserinfo['userid']}'>{$bbuserinfo['username']}</a>
        </td>
</tr>
<tbody id="collapseobj_forumhome_welcomepanel" style="$vbcollapse[collapseobj_forumhome_welcomepanel]">
        <tr>
                <td class="alt1" align="center" width="1%">
                <a href="profile.php?{$session[sessionurl]}do=editavatar">{$bbuserinfo['avatar_build']}</a>
                </td>
                <td width="50%" class="alt2" align="$stylevar[left]" valign="top">
                Welcome back, {$bbuserinfo['username']}, there`s been <b>{$bbuserinfo['newposts']}</b> posts and <b>{$bbuserinfo['newthreads']}</b> threads since your last visit {$bbuserinfo['lastvisit']}<br />
                        <table width='80%' cellspacing='0' cellpadding='2' border='0' align='top'>
                        <tr>
                        <td width="100%" align="$stylevar[left]"><b>{$exec_lastposts}</b> Posts in 24 HRs - <b>{$bbuserinfo['pmunread']}</b> Unread PM`s</td>
        </tr>
        </table>
                <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                <div align='center'><a href="search.php?{$session[sessionurl]}do=getnew">New Posts</a> ? <a href="search.php?{$session[sessionurl]}do=getdaily">Posts in last 24HRS</a> ? <a href="profile.php?{$session[sessionurl]}do=editprofile">Profile Edit</div>
                </td>
                <td width="50%" class="alt2" align="$stylevar[left]" valign="top">
                Your total posts: <b>{$bbuserinfo['posts']}</b> (<b>{$bbuserinfo['postpercent']}%</b> of the board total)<br />
                <if condition="$bbuserinfo[active]">
                Most active in: <a href="forumdisplay.php?{$session[sessionurl]}f={$bbuserinfo[active][0][forumid]}">{$bbuserinfo[active][0][title]}</a>  <b>{$bbuserinfo[active][1]}</b> Posts<br />
                <else />
                You're most active in: <i>N/A</i><br />
                </if>
                        <table width='100%' cellspacing='0' cellpadding='2' border='0' align='center'>
                        <tr>
                        <td width="50%" align="left">Average posts a day: <b>$bbuserinfo[postsperday]</b></td>
                        </tr>
                        </table>
                <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                <div align="center">Members: <b>{$numbermembers}</b> ? Threads: <b>{$totalthreads}</b> ? Posts: <b>{$totalposts}</b></div>
                </td>
        </tr>
</tbody>
</table>
<br />


King Kovifor 11-13-2005 03:50 PM

Quote:

Originally Posted by Gizmo5h1t3
shows out of line on mine...

try this one??

HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat" colspan="3" align="center">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_welcomepanel')"><img id="collapseimg_forumhome_welcomepanel" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_welcome_panel].gif" alt="" border="0" /></a>
                Welcome Back <a href='member.php?{$session[sessionurl]}u={$bbuserinfo['userid']}'>{$bbuserinfo['username']}</a>
        </td>
</tr>
<tbody id="collapseobj_forumhome_welcomepanel" style="$vbcollapse[collapseobj_forumhome_welcomepanel]">
        <tr>
                <td class="alt1" align="center" width="1%">
                <a href="profile.php?{$session[sessionurl]}do=editavatar">{$bbuserinfo['avatar_build']}</a>
                </td>
                <td width="50%" class="alt2" align="$stylevar[left]" valign="top">
                Welcome back, {$bbuserinfo['username']}, there`s been <b>{$bbuserinfo['newposts']}</b> posts and <b>{$bbuserinfo['newthreads']}</b> threads since your last visit {$bbuserinfo['lastvisit']}<br />
                        <table width='80%' cellspacing='0' cellpadding='2' border='0' align='top'>
                        <tr>
                        <td width="100%" align="$stylevar[left]"><b>{$exec_lastposts}</b> Posts in 24 HRs - <b>{$bbuserinfo['pmunread']}</b> Unread PM`s</td>
        </tr>
        </table>
                <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                <div align='center'><a href="search.php?{$session[sessionurl]}do=getnew">New Posts</a> ? <a href="search.php?{$session[sessionurl]}do=getdaily">Posts in last 24HRS</a> ? <a href="profile.php?{$session[sessionurl]}do=editprofile">Profile Edit</div>
                </td>
                <td width="50%" class="alt2" align="$stylevar[left]" valign="top">
                Your total posts: <b>{$bbuserinfo['posts']}</b> (<b>{$bbuserinfo['postpercent']}%</b> of the board total)<br />
                <if condition="$bbuserinfo[active]">
                Most active in: <a href="forumdisplay.php?{$session[sessionurl]}f={$bbuserinfo[active][0][forumid]}">{$bbuserinfo[active][0][title]}</a>  <b>{$bbuserinfo[active][1]}</b> Posts<br />
                <else />
                You're most active in: <i>N/A</i><br />
                </if>
                        <table width='100%' cellspacing='0' cellpadding='2' border='0' align='center'>
                        <tr>
                        <td width="50%" align="left">Average posts a day: <b>$bbuserinfo[postsperday]</b></td>
                        </tr>
                        </table>
                <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                <div align="center">Members: <b>{$numbermembers}</b> ? Threads: <b>{$totalthreads}</b> ? Posts: <b>{$totalposts}</b></div>
                </td>
        </tr>
</tbody>
</table>
<br />


You On 800 x 600?

Gizmo5h1t3 11-13-2005 03:53 PM

no, but others on my board might be....that way, the one i posted covers them all....

King Kovifor 11-13-2005 03:55 PM

Some of it seems to be a little unneded. I'll work on it though.

Gizmo5h1t3 11-13-2005 04:13 PM

Quote:

Originally Posted by King Kovifor
Some of it seems to be a little unneded. I'll work on it though.

im a total n00b at this mate, most of it is ZT`s original code, with bits changed...thats all

gameslover 11-13-2005 04:22 PM

Quote:

Originally Posted by King Kovifor
DO you want it to REPLACE your navbar section? I'd have to work on it, so give me some time. ;)

That's sound great but only on forumhome like the hack I show you in my last post if it is possible ?

If you want to work on it that would be very very cool :)

King Kovifor 11-13-2005 04:30 PM

Quote:

Originally Posted by gameslover
That's sound great but only on forumhome like the hack I show you in my last post if it is possible ?

If you want to work on it that would be very very cool :)

Got ya. OK Will work on that.

King Kovifor 11-13-2005 04:31 PM

Quote:

Originally Posted by Gizmo5h1t3
im a total n00b at this mate, most of it is ZT`s original code, with bits changed...thats all

Not A Lot. I've made a 1.1 update to make it "800 x 600" Friendly. :-)

gameslover 11-13-2005 04:38 PM

Quote:

Originally Posted by King Kovifor
Got ya. OK Will work on that.

Thank you very much :)

King Kovifor 11-13-2005 04:40 PM

Quote:

Originally Posted by gameslover
Thank you very much :)

YW, it may take longer than I expected.

gameslover 11-13-2005 05:19 PM

Quote:

Originally Posted by King Kovifor
YW, it may take longer than I expected.

That's not a problem for me, take all the time you need :)

JimNY 11-13-2005 06:32 PM

Hi Everyone,

I am unable to locate the forumhome_welcome panel. I found the forumhome from the style manager. Where do you find the welcome panel?

Do I replace everything in the forumhome with the one written or do I find the welcome panel within the forumhome template?

Thanks

loonytune15 11-14-2005 11:37 AM

@ JimNY install this hack first:
https://vborg.vbsupport.ru/showthread.php?t=83124

@King Kovifor I've gone through the original code myself and changed it more to my own liking. I'll add in your code again and post a shot here in a min.

http://www.monster-designs.com/Files/welcome.jpg

King Kovifor 11-14-2005 06:19 PM

Is that your change? Pretty Nice, if that's mine, glad it worked out.

MThornback 11-14-2005 08:54 PM

Installed...

I also tweaked the template, changed the wording a bit so that the two lines actually line up :)

Great work on the rewrite!

King Kovifor 11-14-2005 11:36 PM

Thank You. FOR ALL BUG REPORTS, OR PROBLEMS PLEASE PLEASE USE OUR NEW BUG REPORT/HELP SYSTEM OVER AT VBRENEGADES:

http://www.vbrenegades.com/bugs.php?...ug_statusid=24

loonytune15 11-14-2005 11:55 PM

No I've rewrote mine to look like this...
http://www.monster-designs.com/Files/welcome2.jpg

The one a few posts above is what your code looks like.

King Kovifor 11-15-2005 12:00 AM

Pretty Nice, I see the posts, I like it. Except I t hought the posts in the last 24 hour parts were pretty useless. May I suggest using my code for the name? It's not a link in mine.

loonytune15 11-15-2005 12:18 AM

I like the link, useful for when i mkae changes to the profiles i can get to mine to see if it works right. Thats just in my opinion.
I am looking at adding in a few other things to it, but i might have to look at the stats area as it will get to big otherwise.

King Kovifor 11-15-2005 06:24 PM

The link is to your profile, but whatever fits you is fine. :)

slvr ralliart 11-16-2005 02:17 AM

nice

thanks~

King Kovifor 11-16-2005 06:13 PM

YW. Wow this is totally the most popular hack of mine.

Snake 11-16-2005 06:34 PM

Just installed this hack. Well done!

King Kovifor 11-20-2005 04:09 PM

Your Not showing up as installed. :(

Dollah 11-20-2005 09:49 PM

thanx for this and the info

GrendelKhan{TSU 11-21-2005 03:50 PM

any chance of getting this fully phrased?? (kinda important for a welcome panel ;))

so pleease....
I will love you forever if you can make this FULLY PHRASED!!! I tried and failed :( :(


nice changes in any case :)


All times are GMT. The time now is 11:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01624 seconds
  • Memory Usage 1,864KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete