The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can I do this? It would need to check the length of the quote or something, and subtract it from total, but that's not possible. So realistically, what could it do? Upon clicking quote or something, could it calculate length of quoted msg, and also take the length of username, so Quote from $username part is also excluded from msg total...and then subtract that from the post which includes the quote's total length?
That's the only way I can think of, and I don't know how to do it, anyone have any ideas? |
#2
|
|||
|
|||
![]()
Anyone?
Ok, let me simplify this, is there a way I can make it so, if post is being quoted, $pointcount = 0 So really, a way to find if the user has opted to quote a post, or is just posting a normal reply... |
#3
|
||||
|
||||
![]()
I don't know a whole lot about this but their has to be a way to search each thread and if it finds [QUOTE] tags then you make an if/else??? I wouldn't have the slightest idea how to do this but that's what needs to be done.
|
#4
|
|||
|
|||
![]()
That's not what I need.
I need to know how to use some sort of referrer function, to find out where the user is coming from to post the post, and if it's a quote, the quote will already be in the message field, so it should strip the char count of the text that is already there from the total. Or simpler, just set char count to 0 for the entire post (if that's easier to do, i'm willing so sacrifice). |
#5
|
||||
|
||||
![]()
Well that's assuming they click the "Quote" button. What happens if someone just copies and pastes something between the
Quote:
"if" it finds them, anything in between them does not get added (or does not count post at all, however you want it) "else" count all (Sorry for by bad PHP) LOL! |
#6
|
|||
|
|||
![]()
I don't want that, it's ok if people want to quote something from elsewhere, but I want it so if they're quoting a post from the thread, it doesn't count the chars.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|