vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Editing Options For Mods & Admins (https://vborg.vbsupport.ru/showthread.php?t=61412)

TeH Z0mB1E 02-26-2004 06:18 PM

Quote:

Originally Posted by Boofo
Yes. Just copy over the code already there. ;)

took a fresh edit.php and editing it from the install file, followed the instructions very carefully and am still getting :

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/alienfi/public_html/forums/editpost.php(158) : eval()'d code on line 48

line 48 is
PHP Code:

require_once('./includes/functions_editor.php'); 


Xenon 02-27-2004 07:44 PM

regarding your posts before, it seems either your downloaded install file was corrupted during the download, or your upload corrupts the files.

redownload the install file, then use an original editpost.php and apply the hack then.

there is nothing wrong with the hack itself.

@Bob: hmm, no problem, i allow you to do my tests so you can become that busy as well ;)

Boofo 02-27-2004 11:36 PM

I'll whip those tests out for you. Bring 'em on! ;)

Andreas 03-04-2004 04:38 AM

@Xenon
I think this hack has a major bug:
The advanced editing options do not show up on preview.
So if you first click preview and then submit the values will be empty ...

Xenon 03-04-2004 10:56 PM

Damn preview....

yeah you are right.
I've uploaded a bugfixed version. it's jsut a copy paste, as a part of the script has to be on another part in editpost.php

Andreas 03-05-2004 12:08 AM

OK. It does show up on preview now, but it still doesn't work correctly.

Example:
I click edit, change the username, click preview.
Now it still displays the original username (it should display the new one).
I decide to stop editing, but when I visit the thread again the username has been changed (it should only be changend when submitting).

Furthermore, your template code isn't fully XHTML-compliant: it should be selected="selected" instead of just selected.

Xenon 03-06-2004 11:56 AM

thx, for finding out :)

i'll do some changes at that WE, but i'm currently very very busy...

Xenon 03-07-2004 12:48 PM

ok, i've uploaded a new version again.
it should be working now without problems.

djohn 03-07-2004 01:09 PM

How do i update it from v. 1.00?

regards

Xenon 03-07-2004 01:12 PM

just restart with a unmodified editpost.php and apply it again.
as the preview functions could be decided in do update, i have had to change the script too much to provide easy upgrade txts.

the template should be overwritten as well


All times are GMT. The time now is 01:01 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.01427 seconds
  • Memory Usage 1,735KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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