Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #12  
Old 04-11-2002, 11:33 AM
andrew67 andrew67 is offline
 
Join Date: Dec 2001
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ignore me, I added the engine template to the wrong style... oops works dandy now...
Reply With Quote
  #13  
Old 04-11-2002, 11:38 AM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe.. nobody's perfect .
Reply With Quote
  #14  
Old 04-11-2002, 12:46 PM
Harvey Harvey is offline
 
Join Date: Nov 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

2 suggestions.

1.) untested: If only those may use these function, witch may view the adminlog, put the following line after cpheader("...");
PHP Code:
checklogperms($canviewadminlog,1,"<p>functions restricted.</p>"); 
2.) implement functions to backup/restore files.

PS: should the readme.txt not contain the information how to integrate the new functions to index.php?
Reply With Quote
  #15  
Old 04-11-2002, 01:00 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you, harvey for the suggestions.

the first one is a very good idea.. which i'll add. the second one.. well do you think it would be usefull?
Reply With Quote
  #16  
Old 04-11-2002, 01:03 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Harvey
PS: should the readme.txt not contain the information how to integrate the new functions to index.php?
you mean the admin/index.php? how to add the links to the admin cp navbar.. that is described.
Reply With Quote
  #17  
Old 04-11-2002, 01:52 PM
Harvey Harvey is offline
 
Join Date: Nov 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.

Perhaps it makes sense to backup files automatically.

Imagine, you edit a file incorrectly but you don't know exactly where the error is and you don't have the previous version downloaded before. (hope this sentence is understandable).

If I download the attachment the readme.txt contains this:
Code:
********************************
*                              *
* Ultra Family Driver Diskette *
*                              *
********************************


====================
Contents on the disk
====================
README   TXT            This readme file
ULTRA                   Microsoft Windows miniport disk label file
TXTSETUP OEM            Microsoft Windows miniport text mode setup file

WIN2000        <DIR>
  ULTRA    SYS          Microsoft Windows2000 miniport driver
  ULTRA    INF          Microsoft Windows miniport setup file


WIN95-98       <DIR>
  ULTRA    MPD          Microsoft Windows95-98 miniport driver
  ULTRA    INF          Microsoft Windows miniport setup file
  ADVPACK  DLL          Advanced INF file format support file
  PTISTP   DLL          Advanced INF file format support file
  PU66VSD  VXD          Promise power management driver
  SMARTVSD VXD          Promise S.M.A.R.T. driver
  PTICACHE VXD          Promise Cache driver file

NT4            <DIR>
  ULTRA    SYS          Microsoft WindowsNT miniport driver file
  ULTRA    INF          Microsoft Windows miniport setup file

WINME          <DIR>
  ULTRA    MPD          Microsoft Windows Millennium miniport driver
  ULTRA    INF          Microsoft Windows miniport setup file
  ADVPACK  DLL          Advanced INF file format support file
  PTISTP   DLL          Advanced INF file format support file
  PU66VSD  VXD          Promise power management driver
  SMARTVSD VXD          Promise S.M.A.R.T. driver
  PTICACHE VXD          Promise Cache driver file

================
Software Version
================
Microsoft WindowsNT miniport driver     1.60 (Build 33)
Microsoft Windows 2000 miniport driver  1.60 (Build 33)
Microsoft Windows95-98 miniport driver  1.60 (Build 33)
Microsoft Windows Millennium miniport driver  1.60 (Build 33)
Reply With Quote
  #18  
Old 04-11-2002, 03:31 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just a quick note. i looked at the posts made by other users that installed this hack. there is no need to add the $headinclude, $header and $footer in the file, if you call the global.php file. they are included there.
Reply With Quote
  #19  
Old 04-11-2002, 03:41 PM
el3m3nt's Avatar
el3m3nt el3m3nt is offline
 
Join Date: Jan 2002
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ouh.. cool.. thanks nakkid.

@Harvey: lol funny, ehm pls.. download the zip-file again.. im quite sure that not this readme file is in the file. (btw: du sprichst doch deutsch nicht? )
Reply With Quote
  #20  
Old 04-11-2002, 04:30 PM
Harvey Harvey is offline
 
Join Date: Nov 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ja, eigentlich nur
Reply With Quote
  #21  
Old 04-11-2002, 07:15 PM
Vivi Ornitier's Avatar
Vivi Ornitier Vivi Ornitier is offline
 
Join Date: Nov 2001
Location: Black Mage Village
Posts: 442
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also another thing you may want to add is a search feature
Reply With Quote
Reply

Thread Tools

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 11:43 AM.


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.12553 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)bbcode_php
  • (1)bbcode_quote
  • (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
  • (3)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