![]() |
How can I get the PM section to not appear in my welcome panel when a user is not logged in?
|
[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? |
[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.... |
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. |
Thanks, I appreciate the help. Did as you recommended and works like a charm.
|
[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? |
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.
|
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? |
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. |
[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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|