The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Small programming help
PHP Code:
Field 8 you are seeing above is refering to a custom field which was created under each users profile. I would really appreciate it if somebody could fix the above snippet for a 3.7.1, Many thanks in advance! |
#2
|
||||
|
||||
What's the error?
The most obvious one is the lack of single quotes - as you can see, the whole block is parsed incorrectly, leading to the weird colours. |
#3
|
||||
|
||||
He must not have copied that exactly as in the hack. The last field8 only has one quote which should be giving errors in the hack.
|
#4
|
|||
|
|||
Quote:
Looks pretty simple just needs tweaking.. i remember it working for vb 3.5.4. [QUOTE=Boofo;1543754]He must not have copied that exactly as in the hack. The last field8 only has one quote which should be giving errors in the hack.[/QUOTE The one quote was my error.. it has two, one on either side... Field 8 is the custom field you make for the hack to apply to specific users of the forum. See below. https://vborg.vbsupport.ru/showthread.php?t=109543 Thanks |
#5
|
|||
|
|||
Lets play spot the difference!
Correct: Code:
$vbulletin->userinfo['field8'] Code:
$vbulletin->userinfo['field8] (I think all this sun is getting to me... ) If it doesn't work after you changed it, then it is probably due to code changes elsewhere. Which would probably require a new modification. |
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
Ah, you're second post hadn't appeared when I went to post mine
|
#8
|
||||
|
||||
So YOU say...
|
#9
|
|||
|
|||
Sorry for the confusion guys but the problem still remains it does not work!
My first post was a typo... :erm: |
#10
|
||||
|
||||
Where are you putting the code?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|