Announcement

Collapse
No announcement yet.

My first hack. :p

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • My first hack. :p

    Well, I do not know if this has been done before, but oh well.

    This hack was made using vBulletin 2.0.3. I have no idea if it works with earlier versions.

    Download the index.php (index.php3) file and make a backup of it.

    Look for the line that says.
    PHP Code:
    $forumbits=makeforumbit(intval($forumid), 1$permissions); 
    Now add this right below it.
    PHP Code:
    $uaec='';
     if(
    $bbuserinfo[usergroupid]==3) {
          eval(
    "standarderror(\"".gettemplate("forumhome_uaec")."\");");
        } 
    It should be right above this line.
    PHP Code:
    $unregwelcomemessage='';
    if (
    $bbuserinfo['userid']==0) {
      eval(
    "\$unregwelcomemessage = \"".gettemplate('forumhome_unregmessage')."\";");

    Now make a template called forumhome_uaec. And put any message you want in it. Use $username so it will post that persons name.

    Now upload the index.php file.

    This is just some stupid little thing that makes it so the Users Awaiting E-Mail Conformation or whatever it's called not able to view the forum until they activate their account. They can still view everything else, just not the main forum. Not what I was trying to make, but it'll do for now. .

  • #2
    Hey, this is very cool and seems to work well.

    Thanks,

    -JRW
    LostDiscussion.com - Fan base community for ABC's Lost | Club-tC.com - Scion tC Enthusiast Site | PcTechTalk.com - What's your issue? | eInvesting.com - Play the Market, Learn Investing, WIN!

    Comment


    • #3
      looks kewl m8

      Comment


      • #4
        good job. nice hack

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X