vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Great problem!! (vB 3.6.5) (https://vborg.vbsupport.ru/showthread.php?t=146951)

Desesperao 05-10-2007 10:18 PM

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.

HMBeaty 05-10-2007 10:19 PM

So you're wanting to be able to log the logins of your users?

Desesperao 05-12-2007 11:01 AM

I need that the users of the forum could enter to the contest with the same login of the forum.

shortbus1662 05-12-2007 05:40 PM

you're saying you want your contest to use the same user table as the forums?

tort 05-13-2007 07:11 AM

<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.

Desesperao 05-13-2007 11:21 PM

Quote:

Originally Posted by shortbus1662 (Post 1246351)
you're saying you want your contest to use the same user table as the forums?

Exactly, any idea?

shortbus1662 05-14-2007 02:27 AM

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.

Desesperao 05-17-2007 08:17 PM

Thank you, shortbus1662

Has someone an idea?

Michael Morris 05-18-2007 05:14 AM

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.

Dismounted 05-18-2007 11:24 AM

Quote:

Originally Posted by Michael Morris (Post 1249993)
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 :p.

Michael Morris 05-18-2007 01:55 PM

Cut a guy a break - I posted that at 2 in the morning local time and didn't feel like looking it up :D

Desesperao 05-19-2007 10:23 AM

I have searched in the articles section but i don´t find anything. Please, can you help me to find it?

My English is very little and it´s a great work for my to find it between lots of threads.

Dismounted 05-19-2007 11:59 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=62164" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=62164</a>

You didn't need to search for it, you should've just looked in the Articles section.


All times are GMT. The time now is 01:27 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.01215 seconds
  • Memory Usage 1,733KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)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