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)
-   -   [vB3 RC3] Welcome Hack v1.2 (https://vborg.vbsupport.ru/showthread.php?t=60451)

Hwulex 01-23-2004 10:31 AM

Quote:

Originally Posted by Cyricx
Can you entertain me & post the necessary code for me to add so it shows on like every page?

I hate the look of just one page showing that welcome hack. I want it on every page.

And yes, I don't care about the Database abuse. :D

Cyricx

You could make the welcome hack appear on every page, but you need to make some changes to index.php and global.php, as well as replace your navbar template.

The navbar changes I've got sorted, but I need to finalise the changes in global.php and index.php. If it doesn't take too long, I will try and work it all out for you. It will add around 5 queries per page though, just so you know.

Hwulex 01-23-2004 11:34 AM

Quote:

Originally Posted by Cyricx
Can you entertain me & post the necessary code for me to add so it shows on like every page?

I hate the look of just one page showing that welcome hack. I want it on every page.

And yes, I don't care about the Database abuse. :D

Cyricx

Ok, I have mocked up this for you. It's not the most efficient thing in the world, and could add anything up to ten or twelve queries per page (as it's all called in global.php).

I have not re-written the biggest of the code/queries used here for getting the online users as it's too much work for me to do right now. This does, however, work. But please bear in mind that if you use the welcome hack on every page, you lose the original functionality of the navbar all together. You could of course modify the template to show the navbar underneath the welcome hack, perhaps, but I have not done that here.

The attached instructions are not comprehensive in their installation from scratch. You will still need the original instructions for phrase edits. Use the file edits and template additions from these ones though.

Cheers

Cyricx 01-23-2004 04:05 PM

Yea, no problem.

Gotcha :) I'll work on this today :) Thanks!!

Cyricx

M.C. 01-24-2004 08:41 PM

just one more question - where to change this:

M.C. 01-24-2004 08:49 PM

i mean i need phrases to translate to my origin language! Thanx

Zelda-King 02-06-2004 04:44 PM

It appears the phrases regarding PMs don't show if you have PMs disabled. I can't say for sure because I modded this hack for my board. You may wish to test it in any case.

mcyates 02-06-2004 10:58 PM

If you look at www.myfootballforum.com you will see that after a topic title is so long it puts ... at the end to shorten it. How can I adjust this so more of the title will be shown?

Reeve of shinra 02-15-2004 02:54 PM

How do I edit the phrases? I am using RC4? I think it was made it so you purposefully cant edit the standard phrases. Did I miss a hack for that or should this be done via a query in the DB?

Hwulex 02-15-2004 03:48 PM

Edit the phrases in the Phrase MAnager, the same as you would for any other phrase.

As for the no-pm thing, I'll look into that later. :)

Zelda-King 02-15-2004 04:38 PM

Quote:

Originally Posted by Hwulex
As for the no-pm thing, I'll look into that later. :)

I've had a closer look. It's probably my own code that was doing it as I've fixed that on my board. :)


All times are GMT. The time now is 11:57 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.01122 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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