vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Unknown Location (https://vborg.vbsupport.ru/showthread.php?t=169451)

nfn 02-03-2008 03:47 PM

Brent, that's because I remove all query strings from the file. I can define an option for this.

Allan 02-03-2008 03:53 PM

Very nice, great :)

MrNase 02-03-2008 05:37 PM

Please add a setting for that query strings. Thanks! :)

Maybe two textareas, one where the query string is removed and one where the query string remains.

nfn 02-03-2008 09:44 PM

Hi,

Added a 3rd optional parameter where we can define a query string:
/index.php?page=downloads will be set as -> /index.php:Downloads:page=downloads

@Brent: I hope this solve your problem!

Hornstar 02-04-2008 08:28 AM

Thanks, I think inferno has done this with his external modification, but this will be useful if I dont end up getting that. thanks.

testebr 02-06-2008 06:28 PM

I have this:

domai.com/irc_stats/index.php (custom vbulletin page the code bellow);

PHP Code:

<?php

// ######################## SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// ##################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT''irc_stats');

// #################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
//$phrasegroups = array('threadmanage', 'posting', 'postbit');

// get special data templates from the datastore
$specialtemplates = array(
);

// pre-cache templates used by all actions
$globaltemplates = array(
        
'irc_stats',
);

// pre-cache templates used by specific actions
$actiontemplates = array();

// ########################## REQUIRE BACK-END ############################
//require_once('./global.php'); // only if custom page is in default board folder

define('patch_crazy', (($getcwd getcwd()) ? $getcwd '.'));

chdir("/home/myuser/mydomain.com/forum");
require_once(
'./global.php');
chdir(patch_crazy);

...
.....
........

And in plugin I use this:

Code:

irc_stats/index.php:IRC STATS
But, still showing 'main board page'. How to fix it?

I have other page mydomain.com/forum/map.php

and in plugin:

Code:

/forum/map.php:The Map page
Work fine.

nfn 02-06-2008 10:16 PM

Hi,

Try /irc_stats/index.php:IRC STATS.
If that doesn't work, what is the path that you see in your Members Profile:

https://vborg.vbsupport.ru/attachmen...8&d=1201980529

testebr 02-08-2008 03:37 AM

Entrys:

Quote:

/irc_stats/index.php:IRC STATS
irc_stats/index.php:IRC STATS
Result:

Quote:

Viewing Index my_board_title_here
The title with link to board index (/forum/index.php).

My board: domain.com/forum/index.php
My irc_stats: domain.com/irc_stats/index.php

nfn 02-08-2008 07:34 AM

Hi,

If domain.com/forum/index.php is you default index for you board, the title will not be changed.
Where can I get the stats mod you are using to test myself?

jerrygad 02-08-2008 08:40 AM

This is what i am looking for. Thank you for sharing.


All times are GMT. The time now is 03:22 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.01168 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_code_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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