gdogg2003
15.06.2008, 18:07
Hallo,
ich bins mal wieder :o
Habe eben die neuste Version von iTrader (2.1.0) installiert.
Nun wollte ich es oben in der navbar verlinken.
Habe da auch schon in verschiedenen Stellen den Link eingefügt, jedoch taucht es immer an der falschen Stelle oder gar nicht auf.
Ich hätte den Link gerne oben in der Navigationsleiste zwischen "Kontrollzentrum" und "Hilfe".
Wobei ich den "Hilfe"-Link auch gerne raus hätte.
Verstehe auch nicht so richtig die Anleitung, wie, bzw., auch in welchem Template man den oder die Links einfügt:
Template Instructions:
Two fields are added to the "user" table to facilitate rating usage pretty much anywhere you please within the forum. The two fields are:
itrader_total - iTrader Score (stored as an integer)
itrader_pcnt - Percent Positive Feedback (also stored as an integer)
Most likely you will want to add the score info to the postbit and/or postbit_legacy template(s), MEMBERINFO, and memberlist_resultsbit template. Actual placement and style is entirely up to you, however here's a sample to get you started. Note that the MEMBERINFO & memberlist_resultsbit templates won't need the conditional around the text since you can't view a "guest" in those cases.
<if condition="$post['userid']"><div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>
Additionally it would be wise to have some sort of link that is easily accessible to your members so they can view their own ratings. My suggestion would be to add some code in the navbar or usercp menu somewhere. If no userid is specified then the system defaults to the user's own iTrader page.
<a href="itrader.php?$session[sessionurl]">iTrader</a>
Use your imagination where you want these links to be visible, there's nothing set in stone where it should be display or how it should look. Some people wanted the percent score so I added in this version. You can get creative and use some stars or something based on their score or positive ranking.
If you only wanted the info to show up for specific usegroup, you can use the "is_member_of()" function conditional in your templates. Also if you only wanted it to show up for specific forum sections, you could use the "in_array()" function. Read more in the vBulletin documentation for nifty things with template conditionals.
Sorry to skimp on the documentation, next release will be much better, however most people should know what they are doing by now with templates and if you don't, spend the time to learn as you can greatly enhance your forum.
Vielen Dank schonmal im Voraus
PS:
Habe hier und in anderen Foren schonmal wegen einem Trade Manager angefragt, mit dem man Trades durch ein vorgefertigtes System erstellen kann. Aber leider keine Antwort bekommen.
Wisst ihr, ob und wo es ein solches Add-On gibt?
Hier meine Anfrage:
http://www.vbulletin-germany.org/showthread.php?p=33439#post33439
ich bins mal wieder :o
Habe eben die neuste Version von iTrader (2.1.0) installiert.
Nun wollte ich es oben in der navbar verlinken.
Habe da auch schon in verschiedenen Stellen den Link eingefügt, jedoch taucht es immer an der falschen Stelle oder gar nicht auf.
Ich hätte den Link gerne oben in der Navigationsleiste zwischen "Kontrollzentrum" und "Hilfe".
Wobei ich den "Hilfe"-Link auch gerne raus hätte.
Verstehe auch nicht so richtig die Anleitung, wie, bzw., auch in welchem Template man den oder die Links einfügt:
Template Instructions:
Two fields are added to the "user" table to facilitate rating usage pretty much anywhere you please within the forum. The two fields are:
itrader_total - iTrader Score (stored as an integer)
itrader_pcnt - Percent Positive Feedback (also stored as an integer)
Most likely you will want to add the score info to the postbit and/or postbit_legacy template(s), MEMBERINFO, and memberlist_resultsbit template. Actual placement and style is entirely up to you, however here's a sample to get you started. Note that the MEMBERINFO & memberlist_resultsbit templates won't need the conditional around the text since you can't view a "guest" in those cases.
<if condition="$post['userid']"><div>iTrader: (<b><a href="itrader.php?$session[sessionurl]u=$post[userid]">$post[itrader_total]</a></b>)</div></if>
Additionally it would be wise to have some sort of link that is easily accessible to your members so they can view their own ratings. My suggestion would be to add some code in the navbar or usercp menu somewhere. If no userid is specified then the system defaults to the user's own iTrader page.
<a href="itrader.php?$session[sessionurl]">iTrader</a>
Use your imagination where you want these links to be visible, there's nothing set in stone where it should be display or how it should look. Some people wanted the percent score so I added in this version. You can get creative and use some stars or something based on their score or positive ranking.
If you only wanted the info to show up for specific usegroup, you can use the "is_member_of()" function conditional in your templates. Also if you only wanted it to show up for specific forum sections, you could use the "in_array()" function. Read more in the vBulletin documentation for nifty things with template conditionals.
Sorry to skimp on the documentation, next release will be much better, however most people should know what they are doing by now with templates and if you don't, spend the time to learn as you can greatly enhance your forum.
Vielen Dank schonmal im Voraus
PS:
Habe hier und in anderen Foren schonmal wegen einem Trade Manager angefragt, mit dem man Trades durch ein vorgefertigtes System erstellen kann. Aber leider keine Antwort bekommen.
Wisst ihr, ob und wo es ein solches Add-On gibt?
Hier meine Anfrage:
http://www.vbulletin-germany.org/showthread.php?p=33439#post33439