The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
When you click on a username (for example in a post), the link is https://vborg.vbsupport.ru/member.php?u=145764 but I'd like to change that link to: https://vborg.vbsupport.ru/member.php?u=$userid+2 i.e. i would like to change the variable $userid = $userid+2 how would i have to do this? thank you! |
#2
|
||||
|
||||
![]()
Look near the bottom of the postbit (or postbit_legacy) for the code.
|
#3
|
|||
|
|||
![]()
i found the code.
i dont know how to change the code. $userid=$userid+2 doesn't work. |
#4
|
||||
|
||||
![]()
Replace $post[userid] with <if condition="$post['userid'] = $post['userid'] + 2">$post['userid']</if>
|
#5
|
|||
|
|||
![]()
I think there is a misunderstanding. sorry for my bad explanations.
When you click on a username you are redirected to for example: https://vborg.vbsupport.ru/member.php?u=100 but I want that the link is: https://vborg.vbsupport.ru/member.php?u=200 (i.e. two times userid) ------------------------------------------------- When you click on a username you are redirected to for example: https://vborg.vbsupport.ru/member.php?u=150 but I want that the link is: https://vborg.vbsupport.ru/member.php?u=300 (i.e. two times userid) How do i do that? thank you again! |
#6
|
||||
|
||||
![]()
Oh, then replace + 2 with * 2.
|
#7
|
|||
|
|||
![]()
in the template postbit i have now:
Quote:
Quote:
|
#8
|
||||
|
||||
![]() Code:
<if condition="$post['userid'] = $post['userid'] * 2">$post[userid]</if> |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|