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)

Brad 03-16-2005 10:00 PM

vB Pizza Boy
 
I used to have a big problem here at the house, I had to disconnect from the internet to order pizza because I am on dial-up. Papa John's pizza started allowing people to place orders online not to long ago, so we started using this method to order pizza here at the house.

Eventally I got sick of typing the address to papa john's site in everytime we wanted a pizza, so I made this.

Basicly all this modification does is add a new link to the nav frame in the admincp, the link leads to papa john's website and opens in the second admin cp frame. If your lazy like me and like papa john's pizza maybe this is for you.

Note that to order pizza via their website you must register an account with papa johns, and that ordering online is not avaiable at all stores.

And always tip the pizza guy! :)

Dean C 03-17-2005 07:56 PM

Lmao genius ;)!

Reeve of shinra 03-17-2005 07:59 PM

LOL!! EverQuest as the /pizza command which does the same thing too. :)

Lizard King 03-17-2005 08:04 PM

:) this is a perfect mod for lazy people :) for turkey users they can use yemeksepeti.com which offers different restaurants in different areas :)

Marco van Herwaarden 03-17-2005 08:10 PM

Or for the hardcore coders who never leave their AdminCP.

I think The Geek could use this ;)

nexialys 03-17-2005 08:24 PM

there is no more hack to create for vB on what i see here... so much enhancements created in the last months that the last we can do is fill our admincp with a pizza call.
Quote:

Eventally I got sick of typing the address to papa john's site in everytime we wanted a pizza, so I made this
... i think you don't know, but your browser have some cool feature named BOOKMARKS! lol

Allan 03-17-2005 08:31 PM

hihi, I like idea and originality, cheer Brad.Loo :)

jugo 03-17-2005 08:36 PM

Lmfao...that's Classic. Good Job

AN-net 03-17-2005 08:45 PM

wow Brad wow... is vb all modded out?

honestjohn 03-17-2005 09:01 PM

I sense sarcasm... but I smell pizza...

dndog 03-17-2005 09:07 PM

HOTM! ;)

...what if we could get it to win? I know it gets my vote. :p

Brad 03-17-2005 09:17 PM

Well it will have to get alot more installs then the one it has now if that where going to happen :)

Quote:

wow Brad wow... is vb all modded out?
Far from it my friend, all it takes is some good idea's and someone willing to code them. There will always be something out there not in the stock installation that someone wants :)

KTBleeding 03-17-2005 09:19 PM

If you were REALLY lazy, you'd make it so it automatically logs you into Papa John's website. ;)

Brad 03-17-2005 09:33 PM

I almost forgot guys, the only downside to this hack is that you can't get free toppings!

I know all the guys that work at the local papa johns, and seeing how I used to do them big favors back in the day they always hook me up with free toppings or cheese sticks when I call in a pizza. Sometimes I get them to stop by the store for smokes or dutch masters or whatever I need.

When I do it online I lose all that and have to pay for the extra stuff :(

BTW, please tip the pizza guy! :D

hXc Radio 03-17-2005 09:45 PM

haha this made me LOL

2 things..

1) how about one for pizza hut

2) a non admin side of this so members can be lazy too =)

nexialys 03-17-2005 10:08 PM

seriously, this hack is like an Easter Egg ...

Johnny 03-17-2005 10:50 PM

im really surprised McDonalds dont have online ordering, their usually the first to have the wackiest new invention for a resturant.

Deimos 03-17-2005 11:16 PM

That's hilarious, hehe

yoyoyoyo 03-18-2005 12:38 AM

pure genius :D

DrkFusion 03-18-2005 01:20 AM

Though I won't benefit from this, one of the other admin's is dedicated 100% to the forums, and probably lives in the AdminCP, he has actually used it, going to see if the company credit card can be stuck in there, so he can order pizzas on his own, as a courtesy.

Thanks for this Brad!

Polo 03-18-2005 04:36 AM

lol :p

Brad 03-18-2005 04:59 AM

Quote:

Originally Posted by hXc Radio
haha this made me LOL

2 things..

1) how about one for pizza hut

2) a non admin side of this so members can be lazy too =)

Adding pizza hut is easy :)

Find:

PHP Code:

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 />"); 

Change to:

PHP Code:

    // papa john's (the only place to order pizza in eden nc ;)
    
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>Papa John's Pizza</a></div>");

    
// pizza hut - by request
    
echo("<div class=\"navlink-normal\" onclick=\"nav_goto('http://quikorder.pizzahut.com/phorders/login.php');\" onmouseover=\"this.className='navlink-hover';\" onmouseout=\"this.className='navlink-normal'\"><a href=\"http://quikorder.pizzahut.com/phorders/login.php\"$bubblefix>Pizza Hut</a></div><br />"); 


yinyang 03-18-2005 05:20 AM

since we're at it, would it be too difficult to turn this hack into vBDelivery? basically mod it for the forum navbar and have a pull down to various delivery outlets, like Papa John, Domino, pizza hut, etc.

would be awesome!

Zachery 03-18-2005 05:26 AM

Quote:

Originally Posted by nexialys
there is no more hack to create for vB on what i see here... so much enhancements created in the last months that the last we can do is fill our admincp with a pizza call.
... i think you don't know, but your browser have some cool feature named BOOKMARKS! lol

There was once a coffee machine, for vB2... :) this is far better

Go brad (installs)

Deaths 03-18-2005 06:38 AM

Heh, very nice idea.

/me clicks install

Brad 03-18-2005 07:16 AM

Quote:

Originally Posted by yinyang
since we're at it, would it be too difficult to turn this hack into vBDelivery? basically mod it for the forum navbar and have a pull down to various delivery outlets, like Papa John, Domino, pizza hut, etc.

would be awesome!

The problem is I live in the middle of nowhere and have no idea what sort of places deliver other then a few pizza joints. Find some places that do online ordering and i'll throw something a little more proper togther.

sabret00the 03-18-2005 07:56 AM

most definately HOTM, Brad, you should make an add-on for uk users www.dominos.co.uk ;)

Floris 03-18-2005 12:43 PM

I nominate this one for hack of the month! The simplicity and originality is enourmous.

xug 03-18-2005 01:16 PM

Quote:

Originally Posted by Brad.loo
I almost forgot guys, the only downside to this hack is that you can't get free toppings!

I know all the guys that work at the local papa johns, and seeing how I used to do them big favors back in the day they always hook me up with free toppings or cheese sticks when I call in a pizza. Sometimes I get them to stop by the store for smokes or dutch masters or whatever I need.

When I do it online I lose all that and have to pay for the extra stuff :(

BTW, please tip the pizza guy! :D


Don't let me guess what you do with these 'Dutch Masters' :D

Anfiniti.net 03-18-2005 07:10 PM

Hah. It works, too. *Eats his pepporoni pizza* Cheers, mate. Excellent idea!

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 02:38 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.01428 seconds
  • Memory Usage 1,827KB
  • 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
  • (4)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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