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)
-   -   Admin Functions (https://vborg.vbsupport.ru/showthread.php?t=23692)

eva2000 12-03-2001 03:24 AM

Kevin convert.php has a parse error on line 26 ?

FWC 12-03-2001 03:31 AM

Quote:

Originally posted by eva2000
Kevin convert.php has a parse error on line 26 ?
I think it's missing an { at the end of line 22. I put it in and it works as advertised. :D

Symbian.info 12-09-2001 08:12 PM

When I use: Convert Date/Time or Encrypt String
I get this: Parse error: parse error in /home/symbian/www/forum/admin/convert.php on line 26

I follow the att.txt witch has a fault:
makenavoption("Update Counters","misc.php?action=chooser");
must be:
makenavoption("Update Counters","misc.php?action=chooser");,"<br>");

Thanks!

eva2000 12-10-2001 06:27 AM

Quote:

Originally posted by FWC
I think it's missing an { at the end of line 22. I put it in and it works as advertised. :D
thanks that fixed it :)

FWC 12-10-2001 06:48 AM

Quote:

Originally posted by eva2000
thanks that fixed it :)
Glad it worked for you, too. :)

KuraFire 12-10-2001 09:15 AM

Are the install instructions in the very first post completely working and functional for version 2.2.1 now, too? I'd very much like this hack, but if there are still issues to be worked out for version 2.2.1 (or lower, but I'm already up-to-date..) I think I'll wait until they're all ironed out :)

Great hack regardless, an attachment viewer and remove function was what I have been missing in that Admin panel all along... :)

Axel Foley 12-10-2001 01:32 PM

Hi Kevin...

There's a bug in convert.php (at line 22):

PHP Code:

if ($action == "md5");
  
$md5string md5($string);
  echo 
"<b>$string</b> encrypts as <b>$md5string</b>";
  
$action "intro";


Should be:

PHP Code:

if ($action == "md5") {
  
$md5string md5($string);
  echo 
"<b>$string</b> encrypts as <b>$md5string</b>";
  
$action "intro";



For the rest it works great on vB 2.2.1 Kevin.

I loved the attachments management functions, but I have a request Kevin, isn't it possible to show the attachment size? Can't see it anywhere...it is helpful to see it in order to decide if it should be removed or not.

Anyway: GREAT JOB! (as usual) ;)

KuraFire 12-10-2001 01:46 PM

Ooh, yeah that'd be very useful, being able to see the size of all attachments. :up:

Thx Axel, I now know that this works for 221 as well and everything. And thanks to you I can also fix that bug. :)

LuBi 12-12-2001 03:54 AM

So is this now working on 2.2.1? And the first post by tubedog is updated with all the fixes, or will I have to go through the whole thread looking for updates? Thanks!

FWC 12-12-2001 04:14 AM

Quote:

Originally posted by LuBi
So is this now working on 2.2.1? And the first post by tubedog is updated with all the fixes, or will I have to go through the whole thread looking for updates? Thanks!
Lubi, Kevin updated the first post. If you get a parse error on convert.php just add a { at the end of line 22.


All times are GMT. The time now is 07:12 AM.

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.01101 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_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