vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Welcome Panel Hack V1.1 [vB3.0.x] (https://vborg.vbsupport.ru/showthread.php?t=66969)

midnightz 06-23-2005 04:11 PM

Quote:

Originally Posted by SmasherMaster
Check the phrases $totalthreads and such and see if there are any commas present at the end of the phrases.

Double and triple checked, even with and without the commas, no luck.

SmasherMaster 06-24-2005 11:40 PM

Then I have absolutely NO idea on what'a causing it. You sure you made the change I stated above?

midnightz 06-24-2005 11:52 PM

Sorry, forgot to update, I have a very very tricked out board and hunted down what is was :)

Thanks

SmasherMaster 06-25-2005 12:14 PM

Ah lmao, great to see that it worked. :D

yoyoyoyo 06-26-2005 02:07 PM

Quote:

Originally Posted by fatefellshort
I am having some problems. I followed the instructions and when I hit Save for the Navbar edit, it says:
Quote:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/mikeydef/public_html/forums/includes/adminfunctions_template.php(3055) : eval()'d code on line 118

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

Quote:

Originally Posted by bspiller82
I had same error and clicked continue anyway and it seems to work just fine.

I did the same thing and got the same error and clicked continue as suggested and got the following error displayed at the top of the index page:

Quote:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/site/public_html/forum/index.php(486) : eval()'d code on line 109
Quote:

Originally Posted by SmasherMaster
I HAVE RISEN FROM THE DEAD! Jeez, alot of new replies, for sure. A recent complaint brought to my attention over MSN, showed me that in this part:

Code:

Open Template 'NAVBAR'
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 Find:
 +++++++++++++++++++++++++++++++++++++++++++++
 <!-- breadcrumb, login, pm info -->
 +++++++++++++++++++++++++++++++++++++++++++++
 Add BELOW:
 +++++++++++++++++++++++++++++++++++++++++++++
 <!-- Welcome Panel Hack V1.1 [] Created By SmasherMaster -->
 <if condition="THIS_SCRIPT == 'index'">

KILL that <if> line, unless you have VBadvanced.

The only way I can get this hack to work is to remove the line:
Code:

<if condition="THIS_SCRIPT == 'index'">
as you suggested but then the welcome panel appears at the top of each page, not just the forum home.

Also the statistics seem to be incorrect, as well (ie: they do not match the numbers at the bottom of the page or in the vbstatistics hack area)

JTMON 07-08-2005 11:58 PM

well I have tried this out as well. I did have it so the cpms page DIDn't have an avatar but the stats were there, then in trying the fixse in this thread, I somehow got them to dissapear only on the cpms page. Now I have it so almost everything works except the logged in user's avatar on cpms for just the reason Smasher said, the avatarurl variable isn't being populated...

I had the welcome block on when I installed and it still didn't show, tried turning it off, no luck, back on, no luck....UGGGHHH I want this badly

one other thing, even when I turn on the welcome block where there is an avatar...THAT avatar that also uses avataurl works, but the value isn't getting to the welcome block.

JTMON 07-09-2005 04:18 PM

Quote:

Originally Posted by Brainwrek
For whatever reason, the $avatarurl tag is not populating the avatar URL. I'm investigating.......

It seems to me this hack is full of holes. :ermm:


Yes so now how is it possible that the $avatarurl gets populated for the vbadvanced welcome panel on the same page but not that one. Doesn't global.php do that?

Also, did anyone figure out why stats disappeared on the vbadvanced page only? When I first installed it they worked then while I was tweaking the template they vanished, I tried reverting and readding the template code but they still stay gone.

Corvette 07-11-2005 12:30 PM

Great mod, but when I applied the removal part, the posts and thread info stayed but the amount of users online dissapeared!

I want that to be on the panel instead of the posts info. How would you do that? We are a small board so barely anyone comes except for admins so that could work, the theme I use is not fixed width (it's custom!).

crash resistant 07-13-2005 03:02 AM

wooow

I can't get avatars to work at all. I've read through this whole bloody thread. I can't believe that in all the VB world, there isn't a stable independent welcome panel. wooowww

I'll reply much more POed soon, when I do some more sad attempts at getting this to work.

crash resistant 07-13-2005 12:25 PM

hey fellas.

yes. after much anger, I got mine to work.

I used another hack. Because I'm smart and desperate.

use this to get avatars working:
https://vborg.vbsupport.ru/showthrea...ghlight=avatar
(show avatar anywhere hack)

be sure to get rid of any of these cheesy welcome panel $welcome_avatar variables that might be lying around in your template or global.php.

and the rest of the fixes can be resolved with full url paths, and listing the variables in the cmps settings. ;)

any questions just pm or email me. ill be glad to help.

edit: ps: This entire post only applies to users of the CMPS.


All times are GMT. The time now is 05:01 AM.

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.01394 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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