vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Question about [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=242607)

ChopSuey 06-20-2010 04:45 PM

Okay here's the online_location_process

PHP Code:

if($filename=='extra_whos_online.php'){$userinfo['activity'] = 'Viewing MAI Wallpapers';} 

K now! For the second part online_unknown_location
PHP Code:

if($userinfo['activity']=='Viewing MAI Wallpapers')
{
    
$userinfo['where'] = '<a href="extra_whos_online.php?'.$vbulletin->session->vars[sessionurl].'">'.$vbulletin->options[bbtitle].'  - Viewing MAI Wallpapers</a>'
    
$userinfo['action'] = 'Viewing MAI-Wallpapers';
    
$handled true;


;)

Replace your old code.

Xencored 06-20-2010 05:06 PM

Quote:

Originally Posted by ChopSuey (Post 2056499)
Okay here's the online_location_process

PHP Code:

if($filename=='extra_whos_online.php'){$userinfo['activity'] = 'Viewing MAI Wallpapers';} 

K now! For the second part online_unknown_location
PHP Code:

if($userinfo['activity']=='Viewing MAI Wallpapers')
{
    
$userinfo['where'] = '<a href="extra_whos_online.php?'.$vbulletin->session->vars[sessionurl].'">'.$vbulletin->options[bbtitle].'  - Viewing MAI Wallpapers</a>'
    
$userinfo['action'] = 'Viewing MAI-Wallpapers';
    
$handled true;


;)

Replace your old code.

OH so close thanks
It shows right
But the URL points to

http://www.myanimeisland.com/extra_whos_online.php?

ChopSuey 06-20-2010 05:16 PM

Sorry
use this

PHP Code:

if($filename=='extra_online_users.php'){$userinfo['activity'] = 'Viewing MAI Wallpapers';} 

&

PHP Code:

if($userinfo['activity']=='Viewing MAI Wallpapers')
{
    
$userinfo['where'] = '<a href="extra_online_users.php?'.$vbulletin->session->vars[sessionurl].'">'.$vbulletin->options[bbtitle].'  - Viewing MAI Wallpapers</a>'
    
$userinfo['action'] = 'Viewing MAI-Wallpapers';
    
$handled true;


I may warn you that it gives a little error when you go to the online.php page. Since its vB3 code.

Xencored 06-20-2010 05:23 PM

Quote:

Originally Posted by ChopSuey (Post 2056518)
Sorry
use this

PHP Code:

if($filename=='extra_online_users.php'){$userinfo['activity'] = 'Viewing MAI Wallpapers';} 

&

PHP Code:

if($userinfo['activity']=='Viewing MAI Wallpapers')
{
    
$userinfo['where'] = '<a href="extra_online_users.php?'.$vbulletin->session->vars[sessionurl].'">'.$vbulletin->options[bbtitle].'  - Viewing MAI Wallpapers</a>'
    
$userinfo['action'] = 'Viewing MAI-Wallpapers';
    
$handled true;


I may warn you that it gives a little error when you go to the online.php page. Since its vB3 code.

Same as before mate when you click the "Viewing MAI Wallpapers" take me too
http://www.myanimeisland.com/extra_online_users.php
not the page there viewing

and aye its changed all my over links to "Unknown Location"

ChopSuey 06-20-2010 05:25 PM

I'm sorry i would help more but yet i don't have admincp access and would mess with the code more but i have other things to do.

Delete the plugin's that you just made. Also your page is blank.

Xencored 06-20-2010 05:34 PM

Quote:

Originally Posted by ChopSuey (Post 2056528)
I'm sorry i would help more but yet i don't have admincp access and would mess with the code more but i have other things to do.

Delete the plugin's that you just made. Also your page is blank.

Hmm i think am asking the wrong way

all i am trying to do is get my None Vbulletin pages to show in the Whosonline in vbulletin when a user is on them
maybe making that extra_online_users.php was a bad idea (there is nothing on it should be blank)

Thanks anyway :up:

DragonBlade 06-20-2010 09:41 PM

What is the URL to your wallpaper page

Xencored 06-20-2010 09:43 PM

Quote:

Originally Posted by DragonBlade (Post 2056651)
What is the URL to your wallpaper page

i cant link it its 18+
But here is one more i also need to show

http://www.myanimeisland.com/

miku <3

DragonBlade 06-20-2010 10:21 PM

Right now, I'm trying to figure out if it can detect something else rather than file since you are using WP page URLs right?

Xencored 06-20-2010 10:37 PM

Quote:

Originally Posted by DragonBlade (Post 2056669)
Right now, I'm trying to figure out if it can detect something else rather than file since you are using WP page URLs right?

Yea i have 2 wordpress and 2 gallerys am trying to work with


All times are GMT. The time now is 04:33 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.01062 seconds
  • Memory Usage 1,765KB
  • 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
  • (8)bbcode_php_printable
  • (5)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