The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Many times we may need to use the LOG OUT HASH - Let's say, share a common logout between VB and non-VB pages?
Or perhaps serve as a unique ID? Instead of including it into a config file thru PHP, why not use mysql instead? It is a centralised location for your web apps. Requirements: mysql 5 Code:
Create VIEW vw_usernamelist AS (select userid,username, md5(concat(userid,salt,'<YOUR VB LICENSE CODE>') ) AS logouthash from user order by userid) Code:
select logouthash from vw_usernamelist where userid='12345' |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|