Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2007, 10:18 PM
Desesperao Desesperao is offline
 
Join Date: Oct 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Great problem!! (vB 3.6.5)

I?ve a great problem and I need help.

This is my vBulletin community:

http://www.foromotos.com

A friend has designed a contest that uses the login of the forum to be able to accede to it but, after the last update - (6.3.5) - isn?t possible.

I need the minimum code necessary to be able to write php external to vbulletin but that it uses its session to be able to accede to the data (login) of the user.

Thank?s

PD: sorry for my English.
Reply With Quote
  #2  
Old 05-10-2007, 10:19 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you're wanting to be able to log the logins of your users?
Reply With Quote
  #3  
Old 05-12-2007, 11:01 AM
Desesperao Desesperao is offline
 
Join Date: Oct 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need that the users of the forum could enter to the contest with the same login of the forum.
Reply With Quote
  #4  
Old 05-12-2007, 05:40 PM
shortbus1662 shortbus1662 is offline
 
Join Date: Oct 2004
Location: Enid, OK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you're saying you want your contest to use the same user table as the forums?
Reply With Quote
  #5  
Old 05-13-2007, 07:11 AM
tort tort is offline
 
Join Date: Apr 2007
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=100150&highlight=competitions.php " target="_blank">https://vborg.vbsupport.ru/showt...mpetitions.php</a> I would post the code to mine, but mine has been customized to charge points, and automatically pick a winner out of the participants (based not on an answer like the base mod, but on the number of entries).

nevertheless this is what i use....and it is highly customizable as you can see I have done.
Reply With Quote
  #6  
Old 05-13-2007, 11:21 PM
Desesperao Desesperao is offline
 
Join Date: Oct 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shortbus1662 View Post
you're saying you want your contest to use the same user table as the forums?
Exactly, any idea?
Reply With Quote
  #7  
Old 05-14-2007, 02:27 AM
shortbus1662 shortbus1662 is offline
 
Join Date: Oct 2004
Location: Enid, OK
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know jack about programming, php/mysql, etc., however I can say that it can be easily done.

I had someone create a contest program for me in the past.

I also used a program from www.ubidog.com (event handler) that worked really well.
It may be overkill for what you need though, as you can do just about anything under
the sun with it.

Basically, I used it to run contests on my site, and the login integrated with the forum. I first used it with ubbthreads, then switched to vbulletin. They don't have an option for a vbulletin plugin on their site, but they can make you one for like 40 bucks. The software costs 100 dollars, so you're looking at 150 give or take for the program and the integration.

Otherwise, I'm sure you could find someone on here with a solution.
Reply With Quote
  #8  
Old 05-17-2007, 08:17 PM
Desesperao Desesperao is offline
 
Join Date: Oct 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, shortbus1662

Has someone an idea?
Reply With Quote
  #9  
Old 05-18-2007, 05:14 AM
Michael Morris's Avatar
Michael Morris Michael Morris is offline
 
Join Date: Nov 2003
Location: Knoxville TN
Posts: 774
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your code includes global.php it will have access to all vbulletin functions, classes and properties - including information about the currently logged in user. The information is kept in $vbulletin->userinfo or $bbuserinfo. There's a tutorial around here somewhere about writing your own vbulletin powered pages.
Reply With Quote
  #10  
Old 05-18-2007, 11:24 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michael Morris View Post
There's a tutorial around here somewhere about writing your own vbulletin powered pages.
It's always listed in the top five of the vBulletin Articles section. So it's not hard to find .
Reply With Quote
Reply


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 02:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.16554 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)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