The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
||||
|
||||
A nice hack, as always Works fine on my board
|
#13
|
||||
|
||||
Quote:
heum ... don't see well your problem ! Where do you have this error ? Has the hack been installed correctly ? Why do you insert in the template 'admin_fin' the value 'biscuit' ?! irate: I'm sure I could help you but give me more informations |
#14
|
||||
|
||||
The hack was installed correctly. It was something to do with my database. I brought this up on vbulletin.com telling them the exact error. They gave me a query to run and that fixed it.
The value 'biscuit' was just one of my tests to make sure there was nothing wrong with the 'actual' template code. [Code deleted] |
#15
|
||||
|
||||
hey m8, great hack - curious - i get this error @ the top of my admin_page.php:
Code:
Warning: Division by zero in E:\wwwroot\forum\admin_page.php on line 72 Warning: Division by zero in E:\wwwroot\forum\admin_page.php on line 79 i ran the query - the page shows everything okay but i just get that error Also, my admin page.php is in french - but i used the english version? |
#16
|
||||
|
||||
never mind got it - but still have above problem?
|
#17
|
||||
|
||||
For your problem of division by 0 mathiau,
I think it's cauz you used it on your local machine ?! It shows this error because the admin has created 0 post and 0 thread This is quite impropable on a real forum In the admin_page.php, find PHP Code:
PHP Code:
then replace PHP Code:
PHP Code:
Don't have tried it but it should work perfectly |
#18
|
||||
|
||||
Thx for the modification Zelda-King
I'll integrate this code in my file I'm doing some modifications and will try to post the update during the evening |
#19
|
||||
|
||||
Yes, but I found out it's not a code I'm allowed to post. I've therefore deleted it. I hope you took it down. If not I'll have to send it privately.
|
#20
|
||||
|
||||
Quote:
yep - did do it locally on my server, but that did the trick. i have a habit of not posting anything @ all - installing all the hacks, then adding forums, and test posts |
#21
|
||||
|
||||
So, I've made a RLZ of this hack to improve it a little ...
here are modifications : Modifications between v1.0 & 1.1.0 : - display a default image if the admin hasn't put one yet - automatically resizing of the admin's pic if the width is more than 300 pix (you can modify it in the admin_page.php ), the image is shown as a thunbmail and is a clicakble link to enlarge and view it in its real size (Thx to the-jedi for having given me the agreement to use his function) - Use of nopermissions informations of your forum - modification of the link in the memberlist to the user's profile. If the member is an admin, the link will be modified and will now guide you to the admin's profile page of my hack For pepole who have already installed this hack, just make these modifiactions : In memberlist.php find : PHP Code:
PHP Code:
replace the file admin_page.php by the new in the archive and upload the image no_pic.gif in your style's directory Then in the template admin_affich, replace <img src="$info[photo].....> by $info[photo] Alors voila la new version, au programme des modifs : - Affichage d'une image par defaut si l'admin n'en a pas encore mis - Redimensionnement automatique de la photo de l'admin si celle ci est superieure a une certaine dimension, l'image se transforme alors en lien qui pointe vers l'image dans sa taille reelle cette fois (merci a the-jedi pour cette modif et m'avoir permis de l'utiliser ) - Utilise les infos nopermissions du forum - Modification du lien dans le memberlist qui pointe vers le profil du membre, si le membre est un admin alors ce lien pointe vers son profil admin Je mets le zip a jour Pour ceux qui ont deja installe la version precedente (darki ) Fais ces modifs dans le template memberlistbit, trouvez : PHP Code:
et remplacez par $lien Dans memberlist.php trouvez : PHP Code:
PHP Code:
et remplacer le admin_page.php par celui du nouveau zip et apres mettre l'image no_pic.gif dans les differents repertoire images de vos styles ah vi et aussi modifier dans le template admin_affich le <img src="$info[photo].....> par $info[photo] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|