![]() |
I need this itsy-bitsy-(not spider), but hack please :D
Ok, its not really even a hack. Its just a code to put on the forum homepage that decides weather your a admin, and if so, give a link to the admin CP. And if your a mod, give a link to the mod CP. I would really appreciate this. Thanx alot.
|
open root/global.php
Find: PHP Code:
PHP Code:
Satan |
You can also add the code there for global.php in the phpinclude template so its not lost during upgrades ;)
|
I was just about to say that - most of the time, if it's for permissions, put the code in the phpinclude template - much easier, and no need to hack.
|
Yeh...
I prefer the global.php way personally;) Satan |
Ok, thaxn for replying so quick.. Thats why I love this board :p
|
Lol...Your welcome:)
You reminded me actually to update my phpinclude template, and put all the extra stuff into global.php:) Satan |
i'd advice you to install logicians dynamic templates hack
with conditional templates those things are much easier |
And when vB3 comes out with conditional templates, all this hacking will be unnecessary! :)
|
I wouldnt say unnecessary;)
@Xenon - After a mishap earlier today with Logician's Advanced Templates Hack, I decided against using it for a while;) Satan |
Lol@Satan
Conditionals with vb3 is gonna be awesome :) It will make our lives much easier. -Arun |
Or harder, cos we'll have to learn Java:cry:
Satan |
huh? java?
|
yes, the've included more java in vb3 :(
@satan: well his hack is, good, but i don't use it myself. i've made another implementation of conditionals in templates, just a small little codehack, nothing important so it's not released. but it made my live on template editing really really easy |
Quote:
|
Uhuh:)
Thats what i feared about vB3:( I found the fix that Logician posted on the 7th of October, so hopefully that fixed my problem;) Satan |
no no joke...
but as long as i don't see the code with my own eyes i can't exactly say how much and what and so on... i hope not much, i hate java :) |
Thanks for the info Xenon, Best get reading that Java book now ;)
|
I hate Java too:(
Satan |
What are you guys talking about? Java? There is no Java in vb3. Now there is javascript, just as there always has been. WYSIWYG, of course, relies on it greatly but nothing else does.
And what does javascript have to do with the conditionals? |
I was thinking the same thing. Java relates to OS-independent java applets. Javascript is totally different, and is just part of the template's regular HTML-assisting arsenal.
|
:p
I dont like anything not PHP / HTML / MySQL... There...Happy now? I think I covered Java/Javascript/Javahello or whatever is in vB3:p Satan |
java means javascript here, just faster to write ;)
and we've jsut heard there would be much mor javascript in templates as it is now, that's why we are scared ;) |
Indeed...
If you look at vB3, alot of the templates involved Java/Javascript... Satan |
Java is VERY different to Javascript. :) Just use JS as a short-form for Javascript.
|
Fine then...
JS... But its still in vB3:( Satan |
JS is required for the WYSIWYG...isn't it...:confused:
|
vB2 is full of JS - the popups are JS based eg. PM Popup, the smilie and vBCode panel are JS based.
|
Yeh...But apparently alot more of vB3's functionality comes from the surplus of JS used...
Satan |
damn, JS, why didn't i use this ^^
nevertheless, vb2 can be run, nearly without JS, personally i've disabled the use of JS (don't need popups ;)) and everything works.... but vb3 i fear this wouldn't be soo easy ;) but, well as said, we will see how much js would be in and what of this is really needed ;) Who needs WYSIWYG? ^^ I like the pure old method ;) |
Exactly...
Good old vBcode;) Satan |
Quote:
|
All times are GMT. The time now is 06:39 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|