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

Reply
 
Thread Tools
Love calculator Details »»
Love calculator
Version: 1.00, by dymo dymo is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-29-2002 Last Update: Never Installs: 20
Is in Beta Stage  
No support by the author.

simple hack, its not completely done I still want to add in avatar support and a few other small peice to it, but the core works

Its fairly simple it use a small calculation based on the users name and calculates a % of possible love, this could be used also as a hate calculator or whatever you want it calculate.

note i didnt write the algorythum i had it in a list of older scriptlets I collected I dont know who wrote the original peice so sorry to that person i cant give you credit

create a new template called "loveme"

insert the following
PHP Code:
<html>

<
head>

<
title>$bbtitle Is there love?</title>

$headinclude

</head>

<
body>

$header

<table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">

<
tr>

        <
td width="100%"><img src="https://vborg.vbsupport.ru/images/vb_bullet.gif" alt="" border="0" align="absmiddle">

        <
normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &gt;

       
is there love?</b></normalfont></td>

</
tr>

</
table>

<
br>



<
table cellpadding="0" cellspacing="0" border="0"  width="70%" align="center"><tr><td>



<
table cellpadding="10" cellspacing="0" border="0" width="100%"><tr>
      <
td
        <
table width="100%" border="0" cellspacing="0" cellpadding="0">
          <
tr
            <
td$name1 and</td>
            <
td>$name2 $post[avatar]</td>
            <
td>have $amount love between them</td>
          </
tr>
        </
table>
        <
table cellpadding="4" cellspacing="1" border="0" bgcolor="#0A293E" width="100%"
        <
tr>

    <
td colspan="5" bgcolor="#1D6AA0"><normalfont color="#EEEEFF"><center><b></b></center></normalfont></td>

  </
tr>



  <
tr>
<
div align="center">

 </
div>
$footer
</body
edit the post the postbit template and find

PHP Code:
<!-- $ post[yahooicon] --> 
add below it

PHP Code:
<a href="loveme.php?s=$session[sessionhash]&name1=$bbuserinfo[username]&name2=$post[username]&calculate=love">
<
img src="https://vborg.vbsupport.ru/images/loveme.gif" border="0" alt="Is there Love in the Air?"></a
copy the attached file loveme.php to your forums directory

Show Your Support

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

Comments
  #22  
Old 05-04-2002, 08:14 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How is the process on the updated version going?
Reply With Quote
  #23  
Old 05-06-2002, 08:39 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xiphoid
How is the process on the updated version going?
yes I will install when the update is done too!

Can't Wait
Reply With Quote
  #24  
Old 05-06-2002, 08:47 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me stamps his feet to the ground!

By the way, did you found out who hacked your board? And can you maybe give us some info on how you are taking this guy down for hacking?
Reply With Quote
  #25  
Old 05-07-2002, 09:58 AM
GenSec GenSec is offline
 
Join Date: Oct 2001
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It' s nice. Just changed % to USD. :laugh:
More close to real life...
Reply With Quote
  #26  
Old 05-09-2002, 05:27 AM
dadymac dadymac is offline
 
Join Date: Nov 2001
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

xiphoid, i put yours in on top of the original, like u said, every now and then it gives blank pages.

any idea?
Reply With Quote
  #27  
Old 05-09-2002, 08:01 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then you didn't call the right function, probably, did you also find/replace the code? And alter templates?
Reply With Quote
  #28  
Old 05-09-2002, 08:02 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*food for thought* (or otherway around) hehe

Maybe it is because some users have spaces in their name or other characters that are filtered out? Which might cause the script to end up with a blank space, go check if you can reproduce the error and try to notice what differs from the URL
Reply With Quote
  #29  
Old 05-12-2002, 09:03 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still nothing yet? Any estimated time on when this will be up?
Reply With Quote
  #30  
Old 05-14-2002, 10:01 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*when its done*
Reply With Quote
  #31  
Old 05-18-2002, 11:13 PM
dymo dymo is offline
 
Join Date: Jan 2002
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

repost of what i said on the irc notifier, i have been on the road for awhile and just getting back into the swing of coding again, i had a major update complete before our boards were attacked, xiphod knows more about that issue, but the persons who attacked the board once realising they could steal the database as it was too large 120meg decided to destroy the coding we had and erased all my tempaltes, luckily i had backups of a few of the changes but not all, and it has taken alot of time to pretty much recode everything we had done before, but i feel better with what i have now, and i really hope to have a full updated and final release within 48 hours latest from now.

dymo
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 01:44 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.20470 seconds
  • Memory Usage 2,316KB
  • 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
  • (3)bbcode_php
  • (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
  • (3)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