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)

el3m3nt 04-19-2002 02:29 PM

ehm.. have u added the template 'engine" to the style you use (or all style you use)?

Bad Bunny 04-19-2002 03:41 PM

Yes, I followed each example. I MAY have done it wrong, I will go and re read it when I get out of work. Thanks.

Fallout2man 05-03-2002 02:02 AM

Hey, I was wondering, would it be possible for you to add the feature to modify files in the mod directory, and the ability to select between the root forum, admin, and mod directories when creating PHP files? I've been trying to do some of these myself by modifying the code, but none of my tweaks, save adding extensive security checks for unauthorized users, have worked.

GOD-Dblade 05-03-2002 09:07 PM

Ok....well i installed this hack then edited the config file....everything went fine...then i was Adding a new hack....the Failed log ins hack and edited the member.php file fine..then i went to the Index.php file and edited it in the admin index...just adding a url and i got a error like this.
Warning: SAFE MODE Restriction in effect. The script whose uid is 48 is not allowed to access ./global.php owned by uid 504 in /home/virtual/site2/fst/var/www/html/forums/admin/index.php on line 4

Fallout2man 05-04-2002 10:27 PM

Make sure you've CHMOD 0777'd all of your PHP files in the root, admin, and mod directories, as well as the directories themselves, and the root forum directory. That might fix the problem.

Lotus Ims 05-07-2002 09:34 PM

Truly a wonderful hack, works perfectly. Thank you so much

Clicking the install button....now

BrAinZ 05-09-2002 10:32 AM

Thanks for this useful Hack.

Only problem on my board is that we are still running on Version 2.03

I don't know anything about PHP, but I used my logical skills and it seeems to work if you add this to the index.php

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("VBengine"); ?>
</table>
<a href="engine.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add File </a> |
<a href="engine.php?s=<?php echo $session[sessionhash]; ?>&action=edit"> Edit Files </a><br>
</td></tr>

Velocd 05-12-2002 05:39 PM

This has to be one of the most useful hacks out there! Excellent job man ;)

Now I don't have to shift from CuteFTP to my Admin panel when installing a hack, I can do it all from my admin :) Not to mention when I'm at school or another computer without CuteFTP I can easily gain access to my files when making updates!

Only question is, with the "create php file" feature, can you specify what directory this file is going in? Or is it always the default forum/ directory?

Once again, great hack!
[high]* Velocd clicks install button[/high]

Fallout2man 05-12-2002 09:55 PM

Quote:

Originally posted by Velocd
This has to be one of the most useful hacks out there! Excellent job man ;)

Now I don't have to shift from CuteFTP to my Admin panel when installing a hack, I can do it all from my admin :) Not to mention when I'm at school or another computer without CuteFTP I can easily gain access to my files when making updates!

Only question is, with the "create php file" feature, can you specify what directory this file is going in? Or is it always the default forum/ directory?

Once again, great hack!
* Velocd clicks install button

*points to my feature request*

Yes, It's always in the default dir. If we could read the mod dir, and save to either the mod, forum, or admin dir, then the script would completely eliminate the need for FTPs, except for graphics.

Velocd 05-13-2002 04:44 AM

well you can never eliminate the use of an FTP, hence the name "file transfer protocol". FTP will always be used to mass upload files and quickly to a web server. even if someone made a vbadmin integrated uploading hack, nobody would use it cause its just crappy uploading through http. Although maybe simple php files would be nice to upload through admin...hmmmmmmmmmmm..

anyway, wth am I going with this discussion..and why?
/me needs sleep -.-

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

wolfe 09-26-2002 01:16 AM

it works great on my board but might be different to others boards :D

Mike Gaidin 09-26-2002 01:26 AM

Love the original. Will check this one out.

Unknown553 09-26-2002 01:55 AM

So the only thing different from v1.0 is the addition of the /mod directory? If so I don't think this update deserves it's own thread...

chitown 09-26-2002 02:27 AM

well this is an awesome tool, makes all hacks much easier to install!!!

K_2 09-26-2002 05:04 AM

Thank You. Makes my work ALOT easier! I am only 2 weeks new at this and need all the help I can get. K2 clicks install.

chitown 09-26-2002 05:47 AM

Warning: fopen("./functions.php3", "w") - Permission denied in /home/cardtrix/public_html/forum/admin/engine.php3 on line 275

Warning: fwrite(): supplied argument is not a valid File-Handle resource in /home/cardtrix/public_html/forum/admin/engine.php3 on line 277

Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/cardtrix/public_html/forum/admin/engine.php3 on line 279
Done!

this is what i am getting, will this work with 2.27? i have not upgraded to 2.28

zajako 09-26-2002 06:31 AM

you don't have the directory's permission of 777. set that and you will not get those errors. You will need to amke forums, admin, and mod all have 777 and your engine.php file have 777 also.

TECK 09-26-2002 06:37 AM

i dont understand "dood" why you didnt released this as a mod in the original thread?
i could release 385 hacks like that. i take every single hack i like, change few variables and add 2-3 extra lines of code... and voila. there it is a new hack.

think of it this way, the more hacks there are the harder it is to find them.

Erwin 09-26-2002 06:43 AM

Quote:

Originally posted by TECK
i dont understand "dood" why you didnt released this as a mod in the original thread?
i could release 385 hacks like that. i take every single hack i like, change few variables and add 2-3 extra lines of code... and voila. there it is a new hack.

think of it this way, the more hacks there are the harder it is to find them.

I have to agree with TECK and Unknown. As far as I can tell, you added a function to edit files in the mod directly. That's hardly enough to release a version 2. Also, I hope you got element's permission to release his hack. After all, he was the one who wrote the original hack. This is not meant to be offensive - I am just pointing out that if this was my hack, I would not be happy if someone else took it and re-released it without my permission after changing something minor. :) Peace.

chitown 09-26-2002 12:24 PM

i have all the files and folders including engine.php at chmod777 and i am still getting the same error as above....wtf am i doing wrong?

wolfe 09-26-2002 12:34 PM

d00d does it show the contents fo the mod directory in the bottom box of the engine.php

wolfe 09-26-2002 12:36 PM

also the original maker of this product was not providing support in that thread so i added my own ok

TECK 09-26-2002 05:41 PM

is ok "dood", a mod fixed the thread. hope you learn from this lesson.

wolfe 09-26-2002 08:30 PM

what you merged them

Attrox 10-29-2002 08:30 PM

Wow...this hack is simply amazing, and by far my favorite. :)

DrkFusion 10-29-2002 08:32 PM

Works very nice, good for adding hacks at school and at work. Very unique idea.

Thanks
*Clicks Install*
-Arunan

Chris M 10-29-2002 08:39 PM

I presume this works with vB 2.2.8?

Satan

DrkFusion 10-29-2002 08:43 PM

It does, but I had ome hard time, figuring stuff out. But It works for me.

-Arunan

Chris M 10-29-2002 09:43 PM

Fine:)

I may install this later today:)

Satan

N9ne 10-30-2002 12:17 AM

Exactly how hard is it to install this on 2.2.8?


All times are GMT. The time now is 02: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
  • Page Generation 0.01225 seconds
  • Memory Usage 1,820KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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