Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-26-2009, 02:55 PM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Welcome Panel for 3.8?

I have vb3.8. I am using this welcome panel, made for VB 3.5... (link)

It works fine on my forums index (first screen shot) and doesn't show on any subsequent forum pages, which is the intent (and good for me).

I use VBA for my home page. Currently, the welcome panel does not show on the vba homepage. It shows the "default" panel. (second screen shot)

I've posted in the original thread linked above and on the vba forums and no one can tell me how to solve my inquiry.

Two questions:

A) Can someone tell me how to get the welcome panel linked above to show on my vbA home page also?

and/or

B) Can someone update this hack for VB 3.8 and have it work on forums index and vba index?

It'd be mucho appreciated.
Attached Images
File Type: jpg forumindex.jpg (29.8 KB, 0 views)
File Type: jpg vbaindex.jpg (41.0 KB, 0 views)
Reply With Quote
  #2  
Old 01-26-2009, 03:03 PM
glennybee glennybee is offline
 
Join Date: Feb 2008
Location: Scotland
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure how the code should be structured but here goes...

Open the xml product with your favourite editor.

Look for the following line:

Code:
if (THIS_SCRIPT == "index")
This means the plugin will only show on pages that are index pages, i.e. forumhome. You want it to show on 'adv_index' too. This is where I'm not sure of the code structure but try replacing it with something like this:

Code:
if (THIS_SCRIPT == "index") AND (THIS_SCRIPT == "adv_index")
Then reimport the new product overwritting the old one.

Like I said, not even sure if this will work but give it a go anyway. Maybe someone who knows what they're doing with the code will be able to confirm or deny.
Reply With Quote
  #3  
Old 01-26-2009, 03:13 PM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the attempt but that didn't work. I added what you said and it didn't add it to the vbA page. On the forum index page, it removed the avatar image and the actual data from the new posts, new threads, and other statistics categories.

*shrug*
Reply With Quote
  #4  
Old 01-26-2009, 04:33 PM
glennybee glennybee is offline
 
Join Date: Feb 2008
Location: Scotland
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe ask on the vbadvanced website.
Reply With Quote
  #5  
Old 01-26-2009, 05:59 PM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have. Only one person has tried to help, unsuccessfully, thusfar.
Reply With Quote
  #6  
Old 01-26-2009, 06:17 PM
javolin14 javolin14 is offline
 
Join Date: Dec 2008
Location: Arizona
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try and go into the VBadvanced CMS admin center, add module for center, make it able to recieve php and input the vb code for the welcome mod. ie $nameofwelcomemod

If that doesn't work try searching the vba block code they use to incorperate the forum stats, and use that same format however use the welcome mod code.
Reply With Quote
  #7  
Old 01-26-2009, 07:02 PM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, that would just create another vbA module. What I want to do is put it above the navbar like it is on the forums homepage. This is so I can turn off the welcome block on the vba page. Right now, the "stock" vb breadcrumb panel thing is above the navbar, with my username, last time I visitied, and notice of any PMs. Then, I have the same info pretty much in the welcome block in the center of the vba portion. I'd rather the welcome panel above the navbar look the same as on the vb forums index so I can just remove the welcome module all together from the vba portion of the page. Right now, the info is redundant.

I suck at coding so I'm unsure why some mods/hacks work on both forum and vba pages, while some work on forums but don't work on vba. This is similar to the Automatic UserCP Navbar Menu that I just installed. People are having the same issues... the hack works on the forum pages but not on the vba page.
Reply With Quote
  #8  
Old 01-26-2009, 07:47 PM
javolin14 javolin14 is offline
 
Join Date: Dec 2008
Location: Arizona
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reason is, the mods created are modifying the style templates in the whole style, and vba is being modified as well. What you need to do is go to the template for the welcome mod, take that code, and apply it to the vba_portal template and input the code between;

$header
&
$navbar

Then save.
Reply With Quote
  #9  
Old 01-26-2009, 10:21 PM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That didn't work either. I took all of the code from my navbar template (where the welcome panel mod is) and pasted it where you said in the adv_portal template between the $header and $navbar text. All it got me was a second "stock" welcome panel and navbar links. See screenshot below. I've since reverted it.

Here is what I don't understand. The adv_portal template calls for $navbar. Well, my navbar template has everything I want to see. WHY isn't this what shows on the vbA page? It's as if the adv_portal template is pulling the navbar template from somewhere else instead of pulling the navbar template from within the same style.

I've made numerous changes to my navbar template. Half of them show on the vbA site home page and half of them don't. Example... my dynamic Forums / Home Page link shows correctly. My "Better" New Posts show correctly. My "My Threads from Past Month" shows (under my quick links menu).

However, my Welcome Panel doesn't show and my UserCP dropdown menu doesn't show even though the codes for these are in the same navbar template as the others that I listed above. Is it because they might be pulling info from templates or hooks or something like that? I'm not familiar enough with that stuff yet to know what's causing some to work and some not to work.

Hopefully I'm being clear enough with my descriptions.

Thanks.
Attached Images
File Type: jpg forumindex2.jpg (42.7 KB, 0 views)
Reply With Quote
  #10  
Old 01-26-2009, 11:02 PM
javolin14 javolin14 is offline
 
Join Date: Dec 2008
Location: Arizona
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you want i could look at it for you, upload your navbar template, and your vba_portal file to your ftp and give me the link and i'll look at the files for you
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:53 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.04287 seconds
  • Memory Usage 2,280KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete