vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   "You Got Slapped" Battle/Game.... (https://vborg.vbsupport.ru/showthread.php?t=107333)

rinkrat 04-29-2006 05:20 PM

It IS possible to have the toplist work, check my page here:
http://www.letsgokings.com/bbs/sinfo.php?f=1

Hellcat 05-05-2006 03:58 PM

Hi everyone.

Sorry for my long absense, but I'm pretty covered in work ATM and didn't have much time to spend here :(

Anyway, can someone with that "empty page" issue please run the attached .php file and send me the output?

It's a modified sinfo.php that, instead of printing the page, prints out some dubug values that hopefully will help me to narrow down the cause of this problem.

It should output something like this:
Code:

do = toplist

navbar = 3178
HTML = 2606
SHELL = 26552


Please run it including the "?do=toplist" suffix....

:)

cmbehan 05-17-2006 06:12 PM

I just installed this mod on our test forum and I think we can have a bunch of fun with it, but I've got a question:

We currently use vBookie for betting on our sports-related forum and it runs great. We're using the default vCash as our virtual currency.

I was wondering if there was any way of modifying this game so that when you click on a fake link instead of points being added to your slap count, it would take away vCash from the victim and give it to the slapper.

There might need to be a need to only allow it once per user per link to keep people from just giving all of their vCash to a particular user.

Anyone think this is possible?
Anyone want to begin to tackle this with me?

Hellcat 05-17-2006 07:14 PM

Should be possibe :)

The user must be logging tho, the "once per user per link" could be a bit challanging, but possible....

cmbehan 05-17-2006 07:20 PM

Quote:

Originally Posted by Hellcat
Should be possibe :)

The user must be logging tho, the "once per user per link" could be a bit challanging, but possible....


yeah...I had a feeling that it would be the most difficult part.

Nachtfalke 05-25-2006 07:24 PM

I tested the attached sinfo.php to look after the toplist problem. This is what it dumped out:
Code:

do =

navbar = 0
HTML = 0
SHELL = 31188

Looks that something gets lost, doesn't it? Everything else works fine for me (just click on my sig to test it), except of the toplist.

Any help is gladly apreciated.

Nachtfalke 05-25-2006 07:38 PM

Ive got another question: Any chance to get the Slapcount into the profile?

MSheraz86 06-03-2006 06:26 PM

^^ Yeah that's a piece of cake :D

Admin CP > Style & Templates > Style Manager > Edit Templates (for the skin in which you wish to apply the code into) > Member Info Templates > MEMBERINFO.

Add this code wherever you want the slap count to be in the profile.

Code:

$vbphrase[slap_slaps]: $slapcount
Unfortunately I have a MODIFIED Profile so I cannot say exactly where it would be best suited etc or even give an example.

P.S. Great to see you back HellCat, hope to see this Mod become enhanced :D.

Hellcat 06-05-2006 08:44 AM

Quote:

Originally Posted by MSheraz86
P.S. Great to see you back HellCat, hope to see this Mod become enhanced :D.

:)
Yeah, nothing speaks against enhancing it :)

Though my main focus at the moment is WMail (my vB webmailer) and vb.org stuff I will always be happy to take suggestions on features that could be added :)


And here we go with another attempt on the empty toplist.
Whoever has that problem please try this sinfo.php with an experimental fix - if this is reported to be working now I'll update the release attachment with it:
(it's not dumping debug info this time, hopefully it'll show the toplist ;))

Nachtfalke 06-05-2006 11:08 AM

Quote:

Originally Posted by Hellcat
:)
it's not dumping debug info this time, hopefully it'll show the toplist ;)

The hope is dying the very last ;).
Renamed your attached File to sinfo_test.php and uploaded it into my forum root. But still no toplist is showing up ... it is still showing the same as the original sinfo.php, a blank page with my forum header and footer templates around it.
I whish to show my appreciation for your work. I am pretty sure that you will solve this problem. Keep on rolling, man! If I can help you out with anything, simply drop me a line!


All times are GMT. The time now is 04:56 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.01262 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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