vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   v3arcade - Challenge a user via profile link (https://vborg.vbsupport.ru/showthread.php?t=101897)

Jon_Simmonds 11-28-2005 10:00 PM

v3arcade - Challenge a user via profile link
 
This is a simple profile edit, that adds a link to "Challenge this user" using the v3arcade system - www.v3arcade.com, from the user's profile page if the user has enabled the challenges optioin via their user CP

Find in template MEMBERINFO:
Code:

<if condition="can_moderate()">
                <td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
        </if>

Below that, add the following:
Code:

<!-- v3arcade challenge user via profile -->
<if condition="($userinfo['arcadeoptions'] & 1) AND $userinfo['userid']!=$bbuserinfo['userid']"><td class="vbmenu_control">
<a href="arcade.php?do=newchallenge&userid=$userinfo[userid]">Challenge  <b>$userinfo[username]</b> in the arcade</a></td></if>
<!-- / v3arcade challange user via profile -->


dieselpowered 11-29-2005 09:57 PM

Great, thanks!!

**clicks install**

FYI, mods will probably ask that you place this in a text file and attach it. I have attached one for you :)

rb290 11-30-2005 01:47 AM

wow alotta kool hacks for this Arcade, i gotta upgrade to 3.5.1 cause v3 Arcade aint working for me

Jon_Simmonds 11-30-2005 05:20 AM

Quote:

Originally Posted by xtremeoff-road
Great, thanks!!

**clicks install**

FYI, mods will probably ask that you place this in a text file and attach it. I have attached one for you :)


Thanks for that :)

Jon_Simmonds 11-30-2005 05:09 PM

how many games do you have installed on your arcade? On my arcade, it displays all of the games I have installed. (and this mod will not affect how many games are displayed, it just links to the arcades challange function)

dieselpowered 11-30-2005 05:32 PM

This hack should have nothing to do with how many games are installed...it is simply a link to the challenge system. :)

dieselpowered 11-30-2005 05:33 PM

Quote:

Originally Posted by Jon_Simmonds
Thanks for that :)

My pleasure :) Thanks for the hack!

Jon_Simmonds 11-30-2005 07:02 PM

Quote:

Originally Posted by one9er
Jon I have 18 games installed.

It list at random 7 of them? Same ones all the time.

one9er

have you double checked all the permisons in the usergroups and the game settings for the arcade?

Jon_Simmonds 11-30-2005 07:03 PM

Quote:

Originally Posted by xtremeoff-road
My pleasure :) Thanks for the hack!

hopefully the first of many! i only joined vb.org to download the hacks, i got semi involved with a few on a previous nick (linked to a forum i no longer admin), guess ive caught the hackign bug :d

Snake 12-01-2005 03:15 PM

Nice! Installed...

dieselpowered 12-07-2005 03:23 PM

Jon, just wanted to let you know that this works with 3.5.2, incase you wanted to change the version at the top of the thread :)

one9er 12-07-2005 11:16 PM

Question for ya Jon!

If the challenge e-mail thats sent gets deleted before the challenge is met how do ya fix that so you can challenge that member or not with out the e-mail?

Mastar 12-09-2005 04:42 PM

It wouldn't show in my user's profile info

VB3.52

Jon_Simmonds 12-10-2005 05:02 AM

Quote:

Originally Posted by xtremeoff-road
Jon, just wanted to let you know that this works with 3.5.2, incase you wanted to change the version at the top of the thread :)

cheers, updated it now :)



Mastar, you will only see the "challange this user in the arcade" if both yourself and the user you wish to challange have enabled challanges in the arcade options in the usercp, by defult this is set to no.

one9er, the challange should still be able to take place, im sure when you goto the arcade, there is a box at the top of the page that appears if you have any pending challanges, if you are not sure, i would suggest contacting John, who wrote v3arcade

Mastar 12-10-2005 09:17 AM

Quote:

Originally Posted by Jon_Simmonds
cheers, updated it now :)



Mastar, you will only see the "challange this user in the arcade" if both yourself and the user you wish to challange have enabled challanges in the arcade options in the usercp, by defult this is set to no.

one9er, the challange should still be able to take place, im sure when you goto the arcade, there is a box at the top of the page that appears if you have any pending challanges, if you are not sure, i would suggest contacting John, who wrote v3arcade

thanks! is there anyway to have this on by default?

Paul Papoutsis 12-18-2005 12:45 PM

I am running 3.5.1, will it work on this version? Installed as instructed, but this does not show under the user profile at all

??

Paul

Jon_Simmonds 12-18-2005 04:58 PM

Quote:

Originally Posted by Mastar
thanks! is there anyway to have this on by default?

Not that i am aware of, it would be something that the coder of v3arcade would have to introduce


Quote:

Originally Posted by Paul Papoutsis
I am running 3.5.1, will it work on this version? Installed as instructed, but this does not show under the user profile at all

??

Paul

Have you made sure yourself and the person you are trying to challange has turned on challanges?

yayvb 01-31-2006 07:12 PM

Hi, my users have been requesting a way to basically browse my games and if they see one that they want they can challenge them from that game without leaving and having to once again find the game, etc. Perhaps a text field in which they can enter a username of another member?

Is this already in existence somewhere?

Thanks in advance!!

wbear 02-07-2006 12:20 AM

Any idea why only a few games are available in the challenge drop down for my arcade? Looks like it's only recognizing a few of the core games, and none of the rest. Permissions are fine, just can't get them into the challenge dropdown...

XtremeOffroad 02-07-2006 01:33 AM

Nice addition, Thank you.
Clicks install

Nathan2006 03-13-2006 12:32 PM

Thank you :D

Install

Datenpapst 01-05-2007 12:38 PM

?hm this hack is not working for me.... dont see the challenge option in the profil :(

Exitilus 01-05-2007 02:25 PM

You need to look at someone elses profile that has ENABLED the challenge feature.

Datenpapst 01-06-2007 08:40 AM

did so. now its working... strange... :o

blueberry 03-05-2007 04:44 AM

this is a great add on... i was roaming around trying to find an easy way to challenge.. but couldnt find.. now this is the easiest way.. thanks alot..

njoker555 07-11-2007 02:07 AM

thanks this helps a lot out for issuing some challenges :)


All times are GMT. The time now is 02:06 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.01349 seconds
  • Memory Usage 1,764KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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