The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Ok, so I've been playing around with tearing a few modifications apart and trying to make it to where you have to have a minimum number of posts to post links in signatures. But, I'm a little stuck lol. This is what I have in my plugin so far. Hook location: profile_updatesignature_start
PHP Code:
![]() Thank you --------------- Added [DATE]1302114824[/DATE] at [TIME]1302114824[/TIME] --------------- Ok, quick update. There was an extra space in a bit of the code, so I removed that and now my signature gets saved again and I can still post links in the signature. So, now I need help trying to figure out what I need to add/edit/move to make it where users can't post links in their signatures until they reach a certain post count. Thank you ![]() |
#2
|
||||
|
||||
![]()
So this isn't working?
PHP Code:
|
#3
|
||||
|
||||
![]() Quote:
![]() |
#4
|
||||
|
||||
![]()
Right now, I look at your plugin and you are performing operations on the variable $pagetext. I thought you wanted to do stuff to the signature? Shouldn't that be a different variable name?
|
#5
|
||||
|
||||
![]() Quote:
--------------- Added [DATE]1302124353[/DATE] at [TIME]1302124353[/TIME] --------------- Ok lol, I've tried: PHP Code:
PHP Code:
PHP Code:
|
#6
|
||||
|
||||
![]()
Given the location of that hook, shouldn't you be able to use $signature ?
From profile.php: PHP Code:
PHP Code:
|
#7
|
||||
|
||||
![]() Quote:
|
#8
|
||||
|
||||
![]()
Here's the product if anyone wants to play around with it and let me know what you can come up with....
Just import. No file or template edits needed |
#9
|
||||
|
||||
![]()
The code I posted works for me
Attachment 127981 What I tried entering for the sig (without the spaces in the URL bbcode): Code:
This is a [ url=http://test.com]test[/url ] - test. |
#10
|
||||
|
||||
![]()
Ok, yes, it works if you put in a regular url. Now, how do I make it so if a user tries to "go around" by using say....
Code:
vbulletin.com PHP Code:
EDIT: Thank you for you help too |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|