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)
-   -   [Release vB Links 1.0 | vB2bx (https://vborg.vbsupport.ru/showthread.php?t=12815)

mvigod 01-02-2002 03:39 PM

Changing admin cp for 2.2.1

The admin control panel should be changed as follows:

Go into admin/index.php

Find:

PHP Code:

makenavselect("Statistics & Logs","<hr>",$df); 

and below it place this:

PHP Code:

//**** Links.php Nav Section
makenavoption("Add","../links/adminlinks.php?&action=addcat","<br>");
makenavoption("Modify","../links/adminlinks.php?&action=modifycat","<br>");
makenavoption("Arrange","../links/adminlinks.php?&action=ordercat"); 
makenavselect("vB Links Category's"); 
makenavoption("Add","../links/adminlinks.php?action=add","<br>");
makenavoption("Modify","../links/adminlinks.php?action=modify","<br>");
makenavoption("Approve","../links/adminlinks.php?action=offline");
makenavselect("Vb Links","<hr>"); 


That's it.

Lionel 01-02-2002 04:14 PM

it is a javascript error when you try to click on banner to upload one. line 1 character 1 ../linksupload.php

Dalius 01-02-2002 04:44 PM

whats the point of the hack?

Lionel 01-02-2002 04:49 PM

In adminlinks.php, I had to ad this under cpheader();

echo "<script language=\"javascript\">function upload(upload) { var MainWindow = window.open (upload,\"_blank\",\"toolbar=no,location=no,menuba r=no,scrollbars=no,width=320,h eight=150,resizeable=no,status=no\");}</script>";

Okiewan 01-02-2002 06:14 PM

Humm... get
"Fatal error: Failed opening required './global.php' (include_path='') in /home2/public_html/forums/links/links.php on line 3"

Path is correct too... any ideas?

FWC 01-02-2002 07:54 PM

Quote:

Originally posted by Okiewan
Humm... get
"Fatal error: Failed opening required './global.php' (include_path='') in /home2/public_html/forums/links/links.php on line 3"

Path is correct too... any ideas?

links.php should be in your forums directory, not the links directory.

Okiewan 01-02-2002 08:10 PM

DOH!!
Thanks.

FWC 01-02-2002 08:15 PM

You're welcome. :)

xug 01-03-2002 03:12 AM

When I entered the right information into the forum link erea the script cuts the 'ht' off 'http://..."

So the link looks like this :

http://www.xboxusersgroup.com/forums...xclubhouse.com

What could be the problem here !!

Moonwolf 01-06-2002 02:31 AM

I'm trying to download the .zip file but the link in post #1 is showing 404 ... anyone know where this has gone?

Kathi


All times are GMT. The time now is 04:25 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.01320 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
  • (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