![]() |
The login works :) however I get the same problems as above. :(
On my non-vb page the login fields appear, I enter my login name and password, it takes me to the forums. When I go back to my non-vb, the login fields are still there! But even when i refresh, the fields still stay. Vice Versa, if i install the hack when i'm still logged in, the welcome message appears. When I go back to my forums and log out, the welcome message is still there on my non-vb page (even refreshing that page continuously). I've got my forums on a sub-domain, 2.2.6. Does anyone else have this problem? Any help is appreciated! |
OK, sorry about the slow replies. I've been updating my website quite a bit these last few days.
These are the no cache headers that vbulletin uses. Try these to see if they work. Code:
<!-- no cache headers --> The latest threads on my website's homepage is a slight modification of Tubedog's hack available here. The other two (the Book News, and the Site News) are ones that I wrote myself. They're basically identical hacks but each one looks to a different forum ID for the info, and use different templates. The book news is a public forum, the site news is a private forum so can't be seen in the forums by guests and members (but it can by me :) ) In writing them, I used code and ideas from several of the news hacks available here. To cut the title after x charcters, have a look at KuraFire's newsportal and thread overview hack and Tubedog's latest threads hack. To pull forum info to a non-vb page have a look at vbhome or vbindex (look for the news bits in the code). I suppose if enough people are interested I could release them as a separate hack (when I get a bit more time :) ) Darren. |
Hello, is it possible to split this into two sections?
By this i mean have a webwelcome.php and webwelcome_logout.php. Why do i want this? well i use VBPotal and already have a P_themeheader & P_themeheader_loggedout These templates already have menus for logged in and logged out users ie: logout register links. What i would like to be able to do is to be able to include file or template, in existing templates: P_themeheader & P_themeheader_loggedout which has welcome panel for a logged in user or logout/not registered user. any ideas how i could use this hack for such a purpose? many thanks |
I'm not sure I follow what you want to do. I don't use vbportal, but from the sites I've seen using it, it already has a built in welcome/login feature.
If you want to include bits of the templates from this hack in the vbportal templates that should work OK. If you want to include the php code in the templates that probably won't work. I know that with vbulletin you can't use php code within the templates so I presume the same is true for vbportal (and other systems that use templates). Darren. |
Thanks for reply.
Yes i know VBP has all these feature, but they are in side/center blocks and i want to put them in header section, so need to included them the P_themeheader templates. Real pain trying to work it out :( |
A quick update to say that the new V1.20 has been released. I've been meaning to do this for a while but never got around to it. After a few emails about it here it is.
It will allow you to display the user's avatar on the non-vb page. Basically a modification of Firefly's hack. Any other features people would like? |
My forum and my main site are on two different domain names and IP address. Will this hack still work?
|
Sorry if it was asked before... but is there any easy modification to apply to this hack to have private messaging information included ? :p
Thanks in advance. |
Quote:
Quote:
I haven't been applying or bothering with hacks much recently as I'm waiting for VB3 to be released. |
OK, I've nearly finished the next version :)
New Features Added:- - Option to show PM info (if user cannot use PM system or has chosen not to use it, the pm info will not be shown for them). - Option to show who's online and another option within that to show usernames or not (invisible users will show as visible to admin only). - Both the PM info and Who's Online bits will use the correct grammar. If for example only 1 member is online, it will say "1 member" and not "1 members" or "1 member(s)" but if 2 members are online it will say "2 members". Similar for guests and PM info. Again, layouts of all of these will be configurable via custom templates. As I've edited a lot of the vb original code, I'm going to abandon the copy & paste system and release a fully loaded webwelcome.php file. Hope to have this out by the weekend. Any other features people want whilst I'm in the mood :) Darren. PS Still haven't tried it on a subdomain or another domain. |
All times are GMT. The time now is 01:04 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:
|