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)
-   -   vB Pizza Boy (https://vborg.vbsupport.ru/showthread.php?t=78281)

TCM 03-18-2005 08:51 PM

A month ago, one of the member of our site said (just randomly), that the only thing our site couldn't do for them was order pizza. We fixed the problem quickly.https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

Then, as a joke, someone asked if we'd plase add an "Order Toilet" button. We were only too happy to oblige. https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

People starting asking for more buttons, but we didn't add any more, because the first two would lose their novelty.

-TCM

twoseven 03-18-2005 09:46 PM

only one problem with the toilet. the seat is down. verry funny tho

babolo 03-18-2005 10:45 PM

maybe I should convert this into a map quest hack HAHAHA this is genius Brad

rex_b 03-18-2005 11:23 PM

shouldn't someone send this to PJ , what great publicity for them!

Revan 03-19-2005 05:21 PM

For the first two minutes of reading this thread, I was sure this was an April Fools joke just abit ahead of time, and you all were in on it :p

[high]* Revan clicks install, rates the thread with 5 stars and walks off laughing at the fact that only an American could have thought of this vB mod
[/high]
;)

Winchester 03-20-2005 02:08 PM

Hi,

i'm new to this!

I have added the code to admincp/index.php, it hasn't appeared in the mod cp! do i need to do something else?

thanks

Brad 03-20-2005 02:18 PM

Quote:

Originally Posted by Winchester
Hi,

i'm new to this!

I have added the code to admincp/index.php, it hasn't appeared in the mod cp! do i need to do something else?

thanks

The modcp requires it own hack :)

Open /modcp/index.php and find:

PHP Code:

    // *************************************************
    
if (can_moderate(0'canannounce'))
    { 

Above that add:

PHP Code:

// ######### Order Pizza ###############
    // only include the bubble-fix for IE - ignore when encountering the Konqueror/Safari event model - credit to vBdev's, need this code because we are working outside of their function...
    
if (is_browser('ie'))
    {
        
$bubblefix ' onclick="nobub()"';
    }
    else
    {
        
$bubblefix '';
    }
    echo(
"<div class=\"navlink-normal\" onclick=\"nav_goto('http://www.papajohnsonline.com/index.html');\" onmouseover=\"this.className='navlink-hover';\" onmouseout=\"this.className='navlink-normal'\"><a href=\"http://www.papajohnsonline.com/index.html\"$bubblefix>Order Pizza</a></div><br />");
    } 


Winchester 03-20-2005 04:30 PM

Thank you! it took me long enough lol :banana:

HuangA 03-21-2005 12:55 PM

This hack gave me a good giggle. Thanks for sharing such insane yet useful and crazy idea with us! :D

PranK 03-21-2005 01:06 PM

Do Papa Johns deliver to Sydney ? :(


All times are GMT. The time now is 09:29 PM.

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.01115 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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