vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Welcome Panel [Final] (https://vborg.vbsupport.ru/showthread.php?t=33477)

PennylessZ28 09-10-2002 04:28 PM

How can I get the PM section to not appear in my welcome panel when a user is not logged in?

trilOByte 09-10-2002 08:49 PM

[QUOTE]Originally posted by HR3rdGen
How can I get the PM section to not appear in my welcome panel when a user is not logged in?

badham 09-16-2002 01:46 AM

[QUOTE]Originally posted by TvNut


2. How can I move Members: 80, Threads: 37, Posts: 174
Welcome to our newest member, whoever into the right box of this hack...


Thanks..I am new and trying to suck all this info in at once....

trilOByte 09-16-2002 01:12 PM

It's just html. Copy the welcomepanel template code - everything between...

<!-- welcomepanel -->
....and
<!-- /welcomepanel -->

...into an html editor and you will see how it is laid out. Make the changes you want then copy the welcomepanel template code back into the forumhome template in the same position. You can do this with a WYSIWYG editor like dreamweaver, or whatever.

You will see elsewhere in the forumhome template, that there are a number of variables (vars) which start with a $ sign, such as $pminfo and $logincode. These are defined in other templates, and can be moved around pretty much anywhere you like.

The vars you are interested in are $numbermembers, $totalthreads and $totalposts. What they do should be self explanatory. Wherever you put

$totalposts

in the forumhome template, then the number of total posts will be displayed in that location on your forum. Be sure not to duplicate the vars - unless you want them to appear twice. Remember to prefix them with some plainh text which gives them meaning, for example

Number of Forum Members: $numbermembers

will be displayed as

Number of Forum Members: 251 (or whatever that number may be...)

HTH.

badham 09-16-2002 03:36 PM

Thanks, I appreciate the help. Did as you recommended and works like a charm.

TheSaint-AeD 09-16-2002 08:37 PM

[QUOTE]Originally posted by inutero
I got it working on 2.2.7, but the private message box is not showing up. I redid it twice, but still no PM box. Any ideas?

NTLDR 09-16-2002 08:59 PM

Should work fine. This hack only moves the location of the PM box. Try adding $pminfo elsewhere in the forumhome template and see if it apears there, if not you have made a mistake with something else.

TheSaint-AeD 09-17-2002 11:44 AM

sorry, it seems as if this is no bug, but a feature :D .

I can get to my PN's over the UCP --> Private Messages

I thought there'd be a quick Link in the Welcome-Panel, like 'You got 10 new messages' and if you klick on '10' you're taken to your Inbox.

Any Idea how to implement this?

trilOByte 09-17-2002 09:44 PM

You're welcome.

The great thing about these forums, is that you learn so much using them. Rather than just posting a solution, it's far better to show people how to find the solution for themselves.

trilOByte 09-17-2002 09:51 PM

[QUOTE]Originally posted by TheSaint-AeD
sorry, it seems as if this is no bug, but a feature :D .

I can get to my PN's over the UCP --> Private Messages

I thought there'd be a quick Link in the Welcome-Panel, like 'You got 10 new messages' and if you klick on '10' you're taken to your Inbox.

Any Idea how to implement this?


All times are GMT. The time now is 03:57 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.01417 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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