Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBengine Details »»
vBengine
Version: 1.00, by el3m3nt el3m3nt is offline
Developer Last Online: Oct 2002 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-10-2002 Last Update: Never Installs: 76
 
No support by the author.

Latest Version: 1.1

Yesterday evening i wrote this hack instead of studying math . Actually the code is not really difficult, but the hack itself can make many things much easier.

First feature: you can create new php-files thru your admin cp. You can choose if you wanna include the header and footer template and if you wanna create a new template for the content.
Screenshot 1: http://partylife.ch/misc/vbengine1.jpg

Second feature: The script reads all files in your forum and admin directory and you can choose one for editing. So you can edit every file thru the admin cp. This can be usefull for changing small things. You can also choose if you want a backup of the file you are editing.
Screenshot 2: http://partylife.ch/misc/vbengine2.jpg
Screenshot 3: http://partylife.ch/misc/vbengine3.jpg


Installation
Everything is clearly explained in the readme file.


Download
Voil?: http://partylife.ch/misc/vBengine1.1.zip


Note!
I'd really like to get every feedback you guys can give me. Also post bugreports and suggestions to improve this script. If you have installed this hack, pls click on the install button to receive updates thru email. Thank you .

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 05-16-2002, 01:27 AM
Sketch Sketch is offline
 
Join Date: Apr 2002
Location: Baltimore, Maryland
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow! That is absolutely AWESOME! Thanks a million. I don't have FTP access at work where I have the time to do alot of my editing. It's nice to have this.

Sketch
Reply With Quote
  #53  
Old 05-16-2002, 01:08 PM
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Location: Pittsburgh
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks awesome!

I wondered if someone could explain the security issue of having write permissions enabled? I am not that advanced and I'd just like to know if it's risky before I install this Thanks!
Reply With Quote
  #54  
Old 06-03-2002, 01:31 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is a great hack .. sorry to bring an old post up again ...

but is there anyway to only allow one admin to do this... i only want myself to be able to use this and not the other admins...

thanks in advance
Reply With Quote
  #55  
Old 06-20-2002, 01:48 PM
Derek Derek is offline
 
Join Date: Mar 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree with Mist... another thing is can you make it to where we can upload like up to 5 files at a time... not mass, just 5 so we don't have to restart FTP each time.
Reply With Quote
  #56  
Old 09-25-2002, 11:23 PM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey is there a way to add a mod dir

Code:
i added

echo "<tr class='firstalt' valign='top'><td><p>Mod Directory:</p></td><td align=center><p>";
  echo "\n<select size=15 name=\"filename\">\n\t<option>------------------------------------------------</option>\n";

  $dir=opendir("./");
  while ($file=readdir($dir)) {
    if (is_dir("./".$file)) {
      $file="";
    } else {
      $file="\t<option value=\"$file\">$file</option>\n";
    }
    echo $file;
  }

  echo "</select>";
  echo "</p></td></tr>";

  makehiddencode("dir","mod");
  doformfooter("Edit");

under

echo "<tr class='firstalt' valign='top'><td><p>Admin Directory:</p></td><td align=center><p>";
  echo "\n<select size=15 name=\"filename\">\n\t<option>------------------------------------------------</option>\n";

  $dir=opendir("./");
  while ($file=readdir($dir)) {
    if (is_dir("./".$file)) {
      $file="";
    } else {
      $file="\t<option value=\"$file\">$file</option>\n";
    }
    echo $file;
  }

  echo "</select>";
  echo "</p></td></tr>";

  makehiddencode("dir","admin");
  doformfooter("Edit");

and under that i replaced

  if ($action=='read') {
if ($dir=="forum") {
$dirname="../";
} elseif ($dir=="admin") {
$dirname="./";

}

with

: if ($action=='read') {
if ($dir=="forum") {
$dirname="../";
} elseif ($dir=="admin") {
$dirname="./";
} else { ($dir=="mod") {
$dirname="./";
}
but it loaded the admin files in the mod bit can some one please help
Reply With Quote
  #57  
Old 09-26-2002, 12:10 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry this is not my actual hack it is el3m3nt's

Click Here For Original VBengine

First feature: you can create new php-files thru your admin cp. You can choose if you wanna include the header and footer template and if you wanna create a new template for the content.
Screenshot 1: http://partylife.ch/misc/vbengine1.jpg

Second feature: The script reads all files in your forum and admin directory and you can choose one for editing. So you can edit every file thru the admin cp. This can be usefull for changing small things. You can also choose if you want a backup of the file you are editing.
Screenshot 2: http://partylife.ch/misc/vbengine2.jpg
Screenshot 3: http://partylife.ch/misc/vbengine3.jpg

What i have done

UPDATES:

I have added a extra bit of code so it shows the Mod Directory

so now its even easier to add hacks to the Mod CP

ALSO I WILL OFFER ALL SUPPORT.

Click Here
Reply With Quote
  #58  
Old 09-26-2002, 01:12 AM
LawnDawg LawnDawg is offline
 
Join Date: Oct 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kewl, you think it would be possible to add in directories other than the /forums & /admin /mod etc?
Reply With Quote
  #59  
Old 09-26-2002, 01:14 AM
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
Posts: 1,926
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Seems very useful.

I will take a look at it
-Arunan
Reply With Quote
  #60  
Old 09-26-2002, 01:14 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah d00d just ask me and i will add them but i need to know exactly where they are like in forum/tmp or tmp etc etc
Reply With Quote
  #61  
Old 09-26-2002, 01:15 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

need to know if it works prolly

some one test it out
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05180 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete