vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - It Sucks! Let your users know what sucks and what doesn't! (https://vborg.vbsupport.ru/showthread.php?t=160615)

MiahBeSmokin420 10-20-2007 01:49 AM

You Know What I Did A Few Edits Basically Changing Where It Is

Because Like I Said I Dont Have A Normal Nav Bar

Well I Found A Good Spot To Put This For Some People I Guess

So I Figures I Would Share It With Yall

Template Edits:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Forum Home Template

Search For:
Code:

$navbar
Directly Below This Add:
Code:

<if condition="$bbuserinfo[userid]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
<span class="smallfont">What Sucks And What Don't!</span>
</td>
</tr>
<tr align="left">
<td class="alt1"><span class="smallfont">
What Suck's More....???
<form id="form1" name="form1" method="post" action="itsucks.php?do=fight" style="margin:0px; ">
              <div align="center">
                <input name="number1" type="text" id="number1" value="" size="25" />
              VS
                <input name="number2" type="text" id="number2" value="" size="25" />
                <input type="submit" name="Submit" value="View Results" />
              </div>
            </form>
</span>
</td>
</tr>
</table>
<br />
</if>

Close And Save

Thats It Your Done!

You Can Then Remove The Link From The Nav Bar Through The ACP If You Would Like


For Some It May Look Better Then Having Another Link Laying Around On The Site

And For Some It May Server For Better Usage Right There

So The Choice Is Up To You

Thats Just What I Did After Installing This Hack


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I Also Just Finnished Making The WOL Data For This Hack

Downloand The What_Sucks_WOL-Data.xml

Then Upload As A Plug-In

And TaDa Who Is Online Is Fixed

basketmen 10-20-2007 01:58 AM

is this hack like www.googlefight.com ????

Blaine0002 10-20-2007 02:22 AM

pretty much the same schpiel.

yoyoyoyo 10-20-2007 02:48 AM

Funny idea - it would be nice if it would display the last X number of "fights" entered somewhere, or if you could enter your own "fights" without having to edit the template ;)

TheBlackPoet 10-20-2007 02:59 AM

i was hoping it was more internal... the members could vote and there be a pie chart.. this is a novel idea... i'll keep it...

Blaine0002 10-20-2007 02:48 PM

hehe

11 installs already! Its POPULAR!

towermatt 10-20-2007 03:44 PM

I'll see whats up with it. Vbay is great.

Thanks Blaine

Cute, I like it.

hitmann 10-30-2007 02:10 PM

I'm getting this error:

Quote:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /itsucks.php on line 69

Warning: file_get_contents(http://search.yahooapis.com/WebSearchService/V1/webSearch?appid=YahooDemo&query=%22blah+Sucks%22&o utput=php) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /itsucks.php on line 69
Request failed

Blaine0002 10-30-2007 02:40 PM

Oh noes?!
they must have change the yahoo search api. ill check it.

Alien 10-30-2007 03:23 PM

VERY nice.. Would you consider doing a Google version in the future as well?


All times are GMT. The time now is 02:10 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.01084 seconds
  • Memory Usage 1,738KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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