The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Make An easy template edit using a product
i see a hack that using a template edit using a product and it is wonderful
this hack made by MarcoH64 , Private Message Workbench: Read, Search, Delete, Report and more and the product for no template edit was like that mY Comments in Green Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <locations productid="product id here"> <location template="template name" location="location i don't know what is this" title="title"> <search><![CDATA[Search for text in template]]></search> <replacement><![CDATA[replace with]]></replacement> </location> </locations> |
#2
|
|||
|
|||
red?
|
#3
|
||||
|
||||
Edited (sorry cuz i was post this thread in vb.com but they told me to ask here)
|
#4
|
|||
|
|||
ah how does it work?
|
#5
|
||||
|
||||
I Asked that
|
#6
|
|||
|
|||
Quote:
Not sure what you are asking though, but i guess you want to know what product that is. Well in some of my hacks i edit templates during runtime, by simply doing a search/replace in the templatecache. This works fine as long as people are using a default template (or custom as long as the search string isn't changed). Most hacks i created using this technique, are checking if another of my hacks is installed: Dynamic Template Modifications This hack does the same, but give the user (admin) the option to override for each style the dynamic modifications that are made, so that my hacks can also be used on modified styles. The XML-File you quoted is the file added to a hack, that will tell my Dynamic Template Modifications hack (if installed) what changes need to be made to which templates. I however never released the Dynamic Template Modifications hack (it is running beta for a long time now on some sites), since i feel that it should be perfect before releasing it as a lot hacks (mine, from others???) might be going to use it. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|