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)

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 09:48 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.01182 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)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
  • (8)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