The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#912
|
|||
|
|||
It's ok lol.... I found it myself.
If anyone else wants to know (and by the way before you look at the code, PLEASE be aware that i can't code to save my life! so i've just looked at it hard and modified it a bit) Proper developers will freak at this lol: in members.php: Change inbetween where it says "//Enable or Disable deletion-ability " and "//Subject" to this: Code:
//Enable or Disable deletion-ability if(GBUSERID == $bbuserinfo['userid'] or $permissions['adminpermissions'] or ($split['1'] == $bbuserinfo['userid'] && time() < ($split['0']+($vboptions['editthreadtitlelimit']*60)))) { $html .= " <script LANGUAGE=\"JavaScript\"> <!-- function confirmSubmit() { var agree=confirm(\"".$vbphrase['wg_areyousure']."\"); if (agree) return true ; else return false ; } // --> </script> <table border=0 cellspacing=0 cellpadding=2> <tr><td><table border=0 cellspacing=0 cellpadding=0> <form action=\"member.php?u=".GBUSERID."\" method=\"post\"> <input type=\"hidden\" name=\"do\" value=\"remove_gbentry\"> <input type=\"hidden\" name=\"gbtime\" value=\"".$split['0']."\"> <input type=\"hidden\" name=\"gbuserid\" value=\"".$split['1']."\"> <tr><td><input onClick=\"return confirmSubmit()\" type=\"image\" src=\"images/buttons/gbremove.gif\" title=\"".$vbphrase['wg_remove']."\"></td></tr> </form> </table></td><td></td></tr> </table>"; } if(GBUSERID == $bbuserinfo['b'] or $permissions['adminpermissions'] or ($split['1'] == $bbuserinfo['userid'] && time() < ($split['0']+($vboptions['editthreadtitlelimit']*60)))) { $html .= " <script LANGUAGE=\"JavaScript\"> <!-- function confirmSubmit() { var agree=confirm(\"".$vbphrase['wg_areyousure']."\"); if (agree) return true ; else return false ; } // --> </script> <table border=0 cellspacing=0 cellpadding=2> <tr><td><table border=0 cellspacing=0 cellpadding=0> </table></td><td><table border=0 cellspacing=0 cellpadding=0> <form action=\"member.php?u=".GBUSERID."\" method=\"post\"> <input type=\"hidden\" name=\"do\" value=\"edit_gbentry\"> <input type=\"hidden\" name=\"gbtime\" value=\"".$split['0']."\"> <input type=\"hidden\" name=\"gbuserid\" value=\"".$split['1']."\"> <tr><td><input type=\"image\" src=\"images/buttons/gbedit.gif\" title=\"".$vbphrase['wg_edit']."\"></td></tr> </form> </table></td></tr> </table>"; } $html .= "</td><td width=100% class=\"smallfont\">"; //Subject By the way i had to use a bit of code that proper coders will freak at lol... I used GBUSERID == $bbuserinfo['b'] in the 2nd bit to make sure it was skipped (as in i know there isnt a variable called "b", so it will just skip it) to get it working... If someone can improve on the code it would be cool. It seems to be working at the moment but the code is really dirty, so i spologise! again i cant code at all, and i dont know what half of the code means lol.... so please dont start shouting at me :squareeyed: Just thought i'd post it to share with anyone else who's doing something like this J |
#913
|
|||
|
|||
i Have installed ervrything properly and i see the admin cp configs and the usergroups have been updated and i see the usercp stuff but when i put a page it doesnt work!
|
#914
|
||||
|
||||
Here's an update for you all.
In September I will dedicate more time to fix this script. The reason is that I will have own office here in the center of the town next to a college/universe with lots of companies around me that I can ask for help and what not. My own brother works just around the corner and he's a very good programmer. Meaning that if I run into a problem it won't take me days to figure out the problem anymore. And since I will be at the office throughout the day I will have more time to do what I should do... WORK! I've been working out of home for the last year and with summer season I haven't been very professional at all. Just been lazy and doing fun stuff as often as I can and no boring stuff at all. Which means this script has been put a side. I will open my office on September 1st, but I have a race weekend sept 2n to sept 4th and home on the 5th with a day off. After that I am able to give this script lots more time. I will do my best to create an installation script for it so there won't be any trouble with the database changes. The file edits will of course still be manually done by the user. Any bugs that you have reported (not many, if any really) will be fixed. Any suggestions will be taken into concideration and I will try to make them all an option so that it won't interfer with already implemented scripts and make them "messy" because some new features are default and could change a lot of visual stuff. I'll try and afford version 3.5. If you wish to contribue for this you can do so to swedie (at ) wheeliepimp( dot)com. (i hate spam, hence the spellout of my email address). Excuse my english, but I hope you understand what I'm trying to explain. Oh and also, I will from after sept 5th be able to really do good "customer" support. |
#915
|
|||
|
|||
Ok Only proble Im having with it is when I enable html the smilies and bb code dont work and when I enable smilies the html script doesnt work. How can I fix it so that all of them can work together?
|
#916
|
|||
|
|||
Quote:
|
#917
|
||||
|
||||
Quote:
|
#918
|
|||
|
|||
Wlill this work with 3.5? OR do I have to do some modification. If so what do I need to change to have it working?
|
#919
|
|||
|
|||
thanks for the hack I will try to add to later
|
#920
|
|||
|
|||
hmmmmmmm will this work vb 3.0.8???
|
#921
|
|||
|
|||
Hi
Have installed and everything is now working fine, Thanks a lot! But, I have a problem, The guestbook, does it not break into more pages when a user gets a certain amount of guestbookcomments? If it does not break, the profilepage will become enormous and very long. cecilie |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|