The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
ReWriteRule ^category/.* myaddon.php?do=showentry [QSA]
doesnt work |
#12
|
||||
|
||||
Did you also create the class to extend vB_Friendly_Url_Paged?
|
#13
|
|||
|
|||
Yes, sure. My problem is, that I cant get rid of ?var=int right after myaddon.php as the content of the var I set in $idkey within the class only allows integer. I can set $idvar to 'do' for example but $idkey doesnt allow strings.
By changing $script in the class and by adding a ?do=routine i can place the holders, but then class_friendly_url.php puts a ?= right after it and it looks like this: myaddon.php?do=routine?=&id=x |
#14
|
||||
|
||||
Post up your code for the class and perhaps we can see what is wrong. (And I assume you are using the htaccess rewrite rule from above?)
|
#15
|
|||
|
|||
I'm about to include friendly url to my glossary addon so i wrote the following class (filename: class_friendly_url_vbglossar.php):
class vB_Friendly_Url_Glossary_Category extends vB_Friendly_Url_Paged PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|