vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   unknown location via backend.php (https://vborg.vbsupport.ru/showthread.php?t=45270)

Reverend 10-31-2002 10:45 PM

unknown location via backend.php
 
I have a created a news klip for my board,and have added a backend.php to my forums directory as the feed.
What do i need to add to the online.php so that the WOL doesn't show an "unknown location" when they view a link via my klip's backend.php ?

Thanks

mheinemann 10-31-2002 11:20 PM

I had the same problem today with some of the hacks I added.
Credit goes to g-force2k2 in this thread (https://vborg.vbsupport.ru/showthrea...037#post298037)

What you would do is find

PHP Code:

case 'index':
      
$userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>";
      break; 

and under it place

PHP Code:

case 'backend':
      
$userinfo[where] = "Your custom text here";
      break; 

Then find
PHP Code:

case 'index.php':
    
$userinfo[activity] = 'index';
    break; 

and under that put
PHP Code:

case 'backend.php':
    
$userinfo[activity] = 'backend';
    break; 


Reverend 11-01-2002 09:23 AM

Thanks,works perfect.

I have another small problem that hopefully someone can correct.
All the links from my klip work fine and take you to the correct threads,however if you go directly to my backend.php it shows an XML error.
As i said,this doesn't effect the links but is a small annoyance that i would like to rectify.
My backend.php can be found here

Thanks

Reverend 11-03-2002 09:06 AM

Quote:

Originally posted by Reverend
Thanks,works perfect.

I have another small problem that hopefully someone can correct.
All the links from my klip work fine and take you to the correct threads,however if you go directly to my backend.php it shows an XML error.
As i said,this doesn't effect the links but is a small annoyance that i would like to rectify.
My backend.php can be found here

Thanks

Can anyone help. ??


All times are GMT. The time now is 01:59 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.01267 seconds
  • Memory Usage 1,724KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete