Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: 1.00, by zajako zajako is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-21-2002 Last Update: Never Installs: 80
 
No support by the author.

This hack lets your members choose an element (as in rpg elements)
You give them a choice on a list and they can become a Fire (or whatever) elemented person.
Its mainly for RPG boards but im sure you can find many other uses for it :}
It also displays it on there post bit aka sidebar :}
again for an active demonstration goto my forums at
http://www2.fate-fx.com/tf/forums/index.php
and you can check it out. i will be using images to rep the elements I can upgrad it to do that if you would like.

here it is...

this is the link to the 1.0 version, i will attach the 2.0 version on the end of this forum so that people may choose to use the old aswell

Show Your Support

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

Comments
  #22  
Old 06-09-2002, 10:46 AM
[hhhh]
Guest
 
Posts: n/a
Default

]
Quote:
Open Admin/functions.php ---->

Find:
.................................................. .......................................
if ($post['receivepm'] and $enablepms==1) {
eval("\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
} else {
$post[pmlink] = "";
}
.................................................. ..........................................
Add after it:
.................................................. ..........................................

// Element Hack v2.0
// by Zajako

$ele = $post[element];

If ($ele == 0)
{
$elename = "none";
}
If ($ele == 1)
{
$elename = "light";
}
If ($ele == 2)
{
$elename = "water";
}
If ($ele == 3)
{
$elename = "wind";
}
If ($ele == 4)
{
$elename = "lightning";
}
If ($ele == 5)
{
$elename = "earth";
}
If ($ele == 6)
{
$elename = "fire";
}
If ($ele == 7)
{
$elename = "dark";
}
If ($ele == 8)
{
$elename = "omega";
}
If ($ele == 9)
{
$elename = "alpha";
}

$eicon = '<img src="images/elements/'.$elename.'" border="0" alt="'.$elename.'" align="absmiddle">';
Edit
Quote:
$ele = $post[element];

If ($ele == 0)
{
$elename = "none.gif";
}
If ($ele == 1)
{
$elename = "light.gif";
}
If ($ele == 2)
{
$elename = "water.gif";
}
If ($ele == 3)
{
$elename = "wind.gif";
}
If ($ele == 4)
{
$elename = "lightning.gif";
}
If ($ele == 5)
{
$elename = "earth.gif";
}
If ($ele == 6)
{
$elename = "fire.gif";
}
If ($ele == 7)
{
$elename = "dark.gif";
}
If ($ele == 8)
{
$elename = "omega.gif";
}
If ($ele == 9)
{
$elename = "alpha.gif";
}
:d
Reply With Quote
  #23  
Old 06-10-2002, 07:09 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that does not iclude any of the database stuf

here is the file for 3.1
Reply With Quote
  #24  
Old 06-23-2002, 03:20 AM
XtremeVigilante XtremeVigilante is offline
 
Join Date: May 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get this hack to work on my VB. My members select an element andit automatically resets back to none.
Reply With Quote
  #25  
Old 06-23-2002, 04:50 AM
XtremeVigilante XtremeVigilante is offline
 
Join Date: May 2002
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried every single think that was mentioned in here and I get nothing.
Reply With Quote
  #26  
Old 08-25-2002, 10:03 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

fix this line
$eicon = '<img src="images/elements/'.$elename.'" border="0" alt="'.$elename.'" align="absmiddle">';

to

$eicon = '<img src="images/elements/'.$elename.'.gif" border="0" alt="'.$elename.'" align="absmiddle">';
Reply With Quote
  #27  
Old 09-25-2002, 01:47 PM
azork azork is offline
 
Join Date: Dec 2001
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

zajako, how do the hidden elements work?
Reply With Quote
  #28  
Old 10-29-2002, 02:41 PM
Esdee's Avatar
Esdee Esdee is offline
 
Join Date: Oct 2002
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by zajako
fix this line
$eicon = '<img src="images/elements/'.$elename.'" border="0" alt="'.$elename.'" align="absmiddle">';

to

$eicon = '<img src="images/elements/'.$elename.'.gif" border="0" alt="'.$elename.'" align="absmiddle">';
Thanks man, I was really wondering why the images didn't work.
Awesome hack BTW
Reply With Quote
  #29  
Old 10-31-2002, 06:37 PM
MoonSlasher's Avatar
MoonSlasher MoonSlasher is offline
 
Join Date: Apr 2002
Location: Netherlands
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Zajako, thanks for the hack.
Reply With Quote
  #30  
Old 08-28-2003, 04:22 AM
Lechuong Lechuong is offline
 
Join Date: Apr 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am hacking RPG ,but myfile showthread.php in error
can U give me ? thz thz
my email: daoquoctruong@yahoo.com
Reply With Quote
Reply

Thread Tools

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 04:47 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.07074 seconds
  • Memory Usage 2,284KB
  • Queries Executed 24 (?)
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_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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (10)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