vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBengine (https://vborg.vbsupport.ru/showthread.php?t=37289)

Sketch 05-16-2002 01:27 AM

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

Sadie Frost 05-16-2002 01:08 PM

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!

Dean C 06-03-2002 01:31 PM

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

Derek 06-20-2002 01:48 PM

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.

wolfe 09-25-2002 11:23 PM

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

wolfe 09-26-2002 12:10 AM

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 :D

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

ALSO I WILL OFFER ALL SUPPORT.

Click Here

LawnDawg 09-26-2002 01:12 AM

Kewl, you think it would be possible to add in directories other than the /forums & /admin /mod etc?

DrkFusion 09-26-2002 01:14 AM

Seems very useful.

I will take a look at it
-Arunan

wolfe 09-26-2002 01:14 AM

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

wolfe 09-26-2002 01:15 AM

need to know if it works prolly

some one test it out


All times are GMT. The time now is 12:59 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
  • Page Generation 0.01048 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete