vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Title Wars Listing Addon for Store Hack by Lesane (https://vborg.vbsupport.ru/showthread.php?t=39561)

Blue2000 06-06-2002 10:00 PM

Title Wars Listing Addon for Store Hack by Lesane
 
Ok this was requested on my site and i thought you would like it aswell.

What this hack does:

It makes a list of all titles that have been set by other users, so people can see just who is setting who to what. :P (if you know what i mean)

U must have Lesane store hack installed for this to work.

Blue2000 06-07-2002 07:20 AM

Demo

ULTIMATESSJ 06-07-2002 01:58 PM

damn it looks pretty nice, but doesn't it sorta ruin the fun of being able to change others names, would it be possible to set this so just the admin can see who 's been changing what???

Chris M 06-07-2002 02:32 PM

Brilliant hack...:)

Satan

Blue2000 06-07-2002 03:58 PM

Quote:

Originally posted by ULTIMATESSJ
damn it looks pretty nice, but doesn't it sorta ruin the fun of being able to change others names, would it be possible to set this so just the admin can see who 's been changing what???
dont see how you mean fella.

Its only a log of the users setting users titles. (remember they get an e-mail anyway telling them who set what)

This is mainly so the other users can see who set who (LOL if you know what i mean)

Keyser S?ze 06-07-2002 04:34 PM

funny, has anyone installed this on 2.2.5?

Blue2000 06-07-2002 04:47 PM

Quote:

Originally posted by IceMalee
funny, has anyone installed this on 2.2.5?
they shoulnt be a problem the hack is for the store.php as long as that works on your forum then this will.

Keyser S?ze 06-07-2002 06:32 PM

yep, installed and works great


might not be cuz of this hack but suddenly my board is running mad slow :( site is running normal tho

i dont want to put-down this hack as it is very nice and seemed to work great (easy install too), but my board was dying, until i uninstalled it, now its going ok, so there may be something wrong, or not, i dont know for sure

ceo_tfw 06-07-2002 07:29 PM

here is a working Demo and installed on VB version 2.2.6


login as test and password test

Velocd 06-07-2002 08:28 PM

Unfortunately you have to register to view the demo ;)

ceo_tfw 06-07-2002 09:05 PM

Quote:

Originally posted by Velocd
Unfortunately you have to register to view the demo ;)


thanks for letting me know, I was not aware:

login as test and password test

then you will be able to see the demo

Apok2002 07-13-2002 09:17 PM

Not sure what I'm doing wrong...but all is installed correctly, I do get the title wars page up (username - victim - new title), and the mysql new table was added...yet there is no data underneath the headings for username, victim, new title.

Store 1.3 is installed, works beautifully. But this titlewars hack doesn't show the data that it should. What are the possible reasons for this?

NuclioN 01-16-2003 05:17 AM

I wonder if this could be made to use it in the same way as in this hack:

https://vborg.vbsupport.ru/showthrea...om+User+Titles

Members could give other members custom image-titles or html-dhtml bouncing titles etc. :D

euangel 04-05-2003 05:15 PM

I'd like to link to this hack from the store itself, but can't find the appropriate template. Can someone point me in the right direction? I'd like to include it in the box where someone can purchase the change another's title item.

Weasel 04-06-2003 10:11 AM

Sorry but those colors make me barf. I have taken the liberty to rewrite the templates using non-hardcoded values and make it conform to the rest of the forum.

store_titles
Code:

<html>
<head>
<title>Title Wars</title>
$headinclude
</head>
<body>
$header<BR><BR>
<!-- breadcrumb -->
<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;
        <a href="store.php?s=$session[sessionhash]">$storename</a> &gt; Title Wars</b></normalfont></td>
</tr>
</table>
<!-- /breadcrumb -->
<BR><BR>

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"  width="73%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">
<tr id="cat">
        <td bgcolor="#3979B7" colspan="3"><font font class="nf"  color="#F1F1F1"><b>$bbtitle Title Wars</font></td>

</tr>
<tr align="center">
        <td bgcolor="#1D6AA0"><smallfont color="#EEEEFF"><b>User Name</b></smallfont></td>
        <td bgcolor="#1D6AA0"><smallfont color="#EEEEFF"><b>Victim</b></smallfont></td>
        <td bgcolor="#1D6AA0"><smallfont color="#EEEEFF"><b>New Title</b></smallfont></td>
</tr>
$titlebits
</table>
</td></tr></table>

$footer
</body>
</html>

store_titlebits
Code:

<tr align="center">
        <td bgcolor="#13486D"><normalfont><a href="member.php?s=$session[sessionhash]&action=getinfo&username=$usertitle[userid]">$usertitle[userid]</a></normalfont></td>
<td bgcolor="#1C5780"><normalfont><a href="member.php?s=$session[sessionhash]&action=getinfo&username=$usertitle[towhomid]">$usertitle[towhomid]</a></normalfont></td>
        <td bgcolor="#13486D"><normalfont>$usertitle[towhat]</normalfont></td>
</tr>

Edit: Dang I just realized it replaced the replacement values, lol. Your going to have to put it [tableheadbgcolor] [firstaltcolor] and [secondaltcolor] manually, unless someone wants to do a text file :disappointed:

Cold Steel 05-01-2003 05:07 PM

When vB3 comes out and all hacks are updated accordingly, do you think it's possible to have as an option how many title pages you want per page, and have navigation like vB?

Mine is getting pretty long, and people are dial-up are requesting pagination.

http://forums.asiansinc.com/store.php?action=titlewar

Cyricx 05-25-2003 02:46 AM

Not sure how many have figured this out. But on our boards we use bbcode and smilies in custom titles which wasn't showing properly in titlewars. This is how I fixed it.

Code:

Find this:

        $newtitle = $usertitle[towhat];

        eval("\$titlebits .= \"".gettemplate("store_titlebits")."\";");

Code:

and change it to:

        $newtitle = $usertitle[towhat]; {
$usertitle[towhat]=bbcodeparse($usertitle[towhat]);
}
        eval("\$titlebits .= \"".gettemplate("store_titlebits")."\";");


xxxsaint 11-01-2003 02:13 PM

anybody know if this is working with the latest release of the store ? I installed it , and it's not working.


All times are GMT. The time now is 08:17 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.01322 seconds
  • Memory Usage 1,759KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete