![]() |
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! |
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. |
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:
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 |
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. |
Quote:
:) |
Ah, you're second post hadn't appeared when I went to post mine :p
|
So YOU say... ;)
|
Sorry for the confusion guys but the problem still remains it does not work! :(
My first post was a typo... :erm: |
Where are you putting the code?
|
All times are GMT. The time now is 02:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|