Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by Yaa 101 Yaa 101 is offline
Developer Last Online: Oct 2003 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-01-2002 Last Update: Never Installs: 35
 
No support by the author.

Not long ago i made a menusystem into a hack for my board.

I want to share this hack.

Before downloading and using it have a look on a working system.
I have to find some ways to lure people to my board

http://forums.knowledge-emporium.com

All info and instructions you can find in the attached zipfile ( 9k ) that you can download.

This hack is a Intermediate - Expert level hack.
My tip is to try it first on a test style.

Have fun with it,
Yaa101


IMPORTANT! change in package: included the 3 pics that are used.
Also changed the description to this fact.

My excuses to the persons missing these files.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 05-07-2002, 11:21 AM
Yaa 101 Yaa 101 is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh yes,

I don't think i can be made resposible for the idiot situation that has been created by the various browser companies concerning the incompatibilities in reference to the W3C standard.

Can you send me some snapshots of your screen? and code-templates you changed?
Reply With Quote
  #33  
Old 05-07-2002, 11:39 AM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did you make something different to your board, because i can see it there? Could it be that there is a problem with my server? i use nusphere?
Reply With Quote
  #34  
Old 05-07-2002, 11:49 AM
Yaa 101 Yaa 101 is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No my board is made exactly like things were explaned in the hack...

I hope it's not your webserver...
Though i advice you anyway to get the windows port of Apache...
It's not that dificult to install, it runs mostly out of the box, you only need to change the httpd.conf to make it run with PHP.

Get the 1.3.xx versions as the 2.xx version does not work yet with PHP.
Reply With Quote
  #35  
Old 05-07-2002, 01:53 PM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

i found that it shows the menu if i am not logged in.!!!

i have a style default and a style in my language called deutsch.

in the options i set up that the default template uses the deutsch one.

the templates of the menu are only in deutsch style.

Where is my error?

Thanks!
Reply With Quote
  #36  
Old 05-07-2002, 02:01 PM
Yaa 101 Yaa 101 is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounding from this, you only have put the menu in 1 style...

This menu needs to be defined in all styles...

Thus 2 styles means adding 6 templates 3 in each.
And changing header and headinclude in each...

Only the part in the PHP is changed 1 time.

I hope you are on the right track now...

Bassie.
Reply With Quote
  #37  
Old 05-07-2002, 04:30 PM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmmh,

i copied the templates to the default style but it is still not shown?????

Any idea?
Reply With Quote
  #38  
Old 05-07-2002, 04:32 PM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Yaa 101
Sounding from this, you only have put the menu in 1 style...

This menu needs to be defined in all styles...

Thus 2 styles means adding 6 templates 3 in each.
And changing header and headinclude in each...

Only the part in the PHP is changed 1 time.

I hope you are on the right track now...

Bassie.
why 6 templates?
there are 4 templates + headinclude + header = 6
but you wrote 6 + header and headinclude?
Reply With Quote
  #39  
Old 05-07-2002, 04:42 PM
Yaa 101 Yaa 101 is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wrong of me... there are 4 templates you need to add to EACH of your current styles...

these are called:

xmenu_cssexpr
xmenu_menucode
xmenu_menudef
xmenu_menustyle

then in EACH style you find the header and headinclude templates, you need to change all.

2 times put

<!-- toplinks -->
$xmenucssexpr
$xmenucode
$xmenudef
<!-- /toplinks -->

inside EACH of the 2 "header" templates (each one in each style)

and 2 times put

$xmenustyle

just before the closing </STYLE> tag inside EACH "headinclude" template of each style

This means you have 2 styles thus 2 x 4 addings = 8 addings , 4 in each style.

Then in 2 styles you change both header and headinclude thus changing 4 templates.
Reply With Quote
  #40  
Old 05-07-2002, 04:50 PM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i think this is easy! isnn't it? :-) But it doesn't work. No i deleted one style so there is only one left!

but now it still only show the menur when you are logged out!
Could there be problems with other hacks?
Reply With Quote
  #41  
Old 05-07-2002, 05:00 PM
Yaa 101 Yaa 101 is offline
 
Join Date: Dec 2001
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It can but that would be if your hacks involve global.php

in there the eveluation of the templates take place...

can you put on the code or send it to me?

better yet, can you send me your global.php, and the header and headinclude templates?

Often we think we did all right but are to long busy with things to see the real thing going on...

You can reach me here: yaa_at_euronet_dot_nl
I think it also talks more easy...

Bassie.
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 03:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05872 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete