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)
-   -   xmenu system... (https://vborg.vbsupport.ru/showthread.php?t=34731)

Birdie501 05-10-2002 02:53 PM

ok we found the error thanks to Yaa 101!!!

Another question for all:

How can i implement this hack into the code of this xmenu?
https://vborg.vbsupport.ru/showthrea...&postid=249919

Thanks!

Birdie501 05-16-2002 01:52 PM

ok,

i found an easy way to change the things i wanted.

If someone is interested please write.

:laugh:

Yaa 101 05-16-2002 04:07 PM

can i ask what was wrong?

you know my addy... :)

dimitr| 05-17-2002 08:58 AM

Like this hack a lot. One thing I was wondering was how to make it so a link on the menu opens a new browser window. Also, how can the menus be made to come up with a mouseover instead of a click? sorry, but I know nothing about javascript. :)

Birdie501 05-17-2002 12:55 PM

Quote:

Originally posted by Yaa 101
can i ask what was wrong?

you know my addy... :)

on which problem do you refer?

Yaa 101 05-17-2002 01:09 PM

Quote:

How can i implement this hack into the code of this xmenu?
https://vborg.vbsupport.ru/show...=&postid=249919

Thanks!

this one?

Birdie501 05-17-2002 01:19 PM

ahh ok;

I already installed the vbpopup hack. Together with this i have the following code in global.php

Code:

if ($bbuserinfo['userid']==0) {


//new menu if user is not logged in
eval("\$xmenustyle = \"".gettemplate('xmenu_menustyle')."\";");
eval("\$headinclude = \"".gettemplate('headinclude')."\";");

eval("\$xmenucssexpr = \"".gettemplate('xmenu_cssexpr')."\";");
eval("\$xmenucode = \"".gettemplate('xmenu_menucode')."\";");
eval("\$xmenudef = \"".gettemplate('xmenu_menudef2')."\";");
eval("\$header .= \"".gettemplate('header')."\";");
// End Xmenu

  eval("\$vbpopup .= \"".gettemplate('vbpopup')."\";");
  eval("\$footer .= \"".gettemplate('footer')."\";");


} else {

//new menu if user is logged in
eval("\$xmenustyle = \"".gettemplate('xmenu_menustyle')."\";");
eval("\$headinclude = \"".gettemplate('headinclude')."\";");

eval("\$xmenucssexpr = \"".gettemplate('xmenu_cssexpr')."\";");
eval("\$xmenucode = \"".gettemplate('xmenu_menucode')."\";");
eval("\$xmenudef = \"".gettemplate('xmenu_menudef')."\";");
eval("\$header .= \"".gettemplate('header')."\";");
// End xmenu
  eval("\$footer .= \"".gettemplate('footer')."\";");
}

Then i just copied the template xmenu_menudef and renamend to xmenu_menudef2 and changed the menu content for users that are not logged in.

That's all.

Yaa 101 05-17-2002 01:30 PM

Thanks... just curious... :)

to Dimitri:

I am sorry i did not write the menu, only packaged it into a hack.
Check the original makers... http://webfx.eae.net
I checked the source and what you want means a re-write of some parts, sorry i am not going to invest in that...

dimitr| 05-17-2002 08:51 PM

Yuck, well if that's the case I won't bother either. :hurt:

Yaa 101 05-17-2002 09:00 PM

I don't think i'm alowed to change their source...

Also as i didn't write it, it takes a while before i get the hange of their code.

i just repackaged it to suit my board, and i just shared it and even gave some help as you can see when reading from start.

maybe i will put another one in due time...

sorry for now...


All times are GMT. The time now is 05: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.01105 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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