vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   External Data Provider Link Wont Work (https://vborg.vbsupport.ru/showthread.php?t=210769)

ilovevbull 04-09-2009 05:26 PM

External Data Provider Link Wont Work
 
I am trying to put my latest forum post on my site an i'v found the External Data Provider in my admin c panal and i clicked everything yes but my link isn't working

http://www.cici-boards.com/external.php?type=js


Can someone please help me please

Lynne 04-09-2009 06:26 PM

The external data provider will only 'post' show that are in forums that unregistered users may view. Since none of your forums are viewable by the public, there is nothing in your external.php page.

ilovevbull 04-11-2009 04:36 PM

What is supposed to in the external.php?? i am so confused.

Lynne 04-11-2009 04:58 PM

If you are wondering what the external.php usually shows, see the one here - https://vborg.vbsupport.ru/external.php

ilovevbull 04-11-2009 06:12 PM

Sorry i had typo's i meant what is supposed to go on my external page or how do i get it there?

Lynne 04-11-2009 06:37 PM

The external page just shows new threads on your forums. If you look at the link I posted for the external.php page on here, you'll see the lastest threads shown there (actually, it is set up to only show the latest modifications, but that is a custom modification here). It's a page for RSS feeds to use.

ilovevbull 04-11-2009 06:51 PM

So we have to put a certain html code inside the external.php page right? for it to show up. I am trying to figure out why mine is blank

Lynne 04-11-2009 08:02 PM

Are your forums viewable to guests?

ilovevbull 04-11-2009 09:45 PM

Okay it has to viewable to guest?

Lynne 04-11-2009 10:02 PM

As I said in post 2, if your forums aren't viewable to guests, then your external.php page will not show anything.

ilovevbull 04-11-2009 10:12 PM

Okay thanks. can i make forum viewable, but not accessible to guests?? or it wont work that way?

Lynne 04-11-2009 10:19 PM

There is no setting to do that, no.

ilovevbull 04-11-2009 10:34 PM

Thanks for ur help! :) i'v set the forum veiwable to guest but i am still not getting anything

Lynne 04-12-2009 03:19 AM

I am still unable to see anything on your site, so it is not viewable by guests.

abbasbsp 04-12-2009 07:16 PM

why external.php at my forum not working
link http://forum-repairponsel.com/external.php
or
if at click picture RSS feeds, link to change feed://http//forum-repairponsel.com/external.php?type=RSS2
why can this happen, where does wrong ????

Lynne 04-12-2009 07:31 PM

Quote:

Originally Posted by ichal_spy (Post 1789742)
why external.php at my forum not working
link http://forum-repairponsel.com/external.php
or
if at click picture RSS feeds, link to change feed://http//forum-repairponsel.com/external.php?type=RSS2
why can this happen, where does wrong ????

Did you turn it on in vboptions > external data provider? If you have, and you continue to get a blank page, you'll need to look at your error_logs and see what the problem is. Or, try disabling your plugins and then see if it works.

abbasbsp 04-12-2009 07:58 PM

I have tried all your suggestions, plugin all disable one by one but still not working

Lynne 04-13-2009 02:48 AM

There is nothing in the error_logs? And you have it on in vboptions > external data provider ? Try reuploading a brand new external.php file freshly downloaded from vb.com.

Bandit8007 11-09-2009 04:39 PM

is there no ohter way to indeed show the feeds to regged people only?
was wondering about this or this could be made somehow if thats not the case..
thnx

Lynne 11-09-2009 05:18 PM

If your forums are hidden to unregistered users, then the feed will not work unless you modify the external.php page to show it anyway.

Bandit8007 11-09-2009 05:31 PM

You have a little hint how to modify this Lynne?

:)

Lynne 11-09-2009 05:45 PM

I don't fully understand what you want as you have posted no information about your particular situation. Are the forums hidden to unregistered users and you want the feeds to show anyway? As I said, you'd have to modify the external.php page to show them anyway. However, then they will show to everyone - unregistered users included. I don't know how to do it so it will only show to registered users.

rsalumpit 11-09-2009 07:12 PM

thank you for this one

Bandit8007 11-10-2009 06:54 AM

the goal is to show only 1 section for feeds
and the forum is total hidden for unreg.. users

if that section does show to all peeps around that's ok...

i beleive ya can set the feeds with that Sorky's plugin :)
on what to show or not......

Lynne 11-10-2009 02:40 PM

Quote:

Originally Posted by Bandit8007 (Post 1912288)
the goal is to show only 1 section for feeds
and the forum is total hidden for unreg.. users

if that section does show to all peeps around that's ok...

i beleive ya can set the feeds with that Sorky's plugin :)
on what to show or not......

So, you are going to use Sorky's plugin and no longer need any help?

You may want to start your own thread with specific details for your case. It's hard to follow a thread when several people are 'talking' in it.

Bandit8007 11-10-2009 06:28 PM

well i do understand ur concern about it

what i mean with Sorky's plugin is that ya can select forum id to gave feeds or not....
normall VB cant do that....
but still need help with it .. cause my forum is pretty closed....and want to keep it that way

but i have 1 forum id that can be open....(cause i think it can only be solved when having 1 forum open)

maybe im stupid.....i dunno.... but if i don't ask...... i never get help...

thnx (again) Lynne!

Lynne 11-10-2009 07:57 PM

I still really don't know what you are asking for here. What, exactly, do you want to do? What, exactly, do you need help with? This was a thread started by a user who couldn't get his external.php 'page' to work. So, we solved that, but then you bumped the thread. You seemed to wonder about somehow making the feed work for forums only open to registered users and I said that can't be done (that I know of). I said you can make a forum feed work for a 'closed' forum, but it will then make the feed viewable by *everyone* (including spiders, unregistered users, anyone who comes across the feed), but in order to do that you need to modify the actual code somehow to allow that. You then mentioned some mod I'm not familiar with at all. I really can't tell at this point what your real question is or what you really want.

Bandit8007 11-11-2009 01:36 PM

1. my external.php aint working too >>>cause forum aint open
2. want to gave a certain forum id to be open for rss feeds

:)

Lynne 11-11-2009 03:04 PM

This is some code changes I did on my site at the top of the external.php page. You may use it, if you'd like. You'll have to modify it to your own specifications since you have given no details at all for your situation. It should be pretty clear from the code where this is int he external.php file.

PHP Code:

if ($vbulletin->GPC['forumids'] != '')
{
    
$forumchoice = array();
    
$forumids explode(','$vbulletin->GPC['forumids']);
    foreach (
$forumids AS $forumid)
    {
        
$forumid intval($forumid);
        
$forumperms =& $vbulletin->userinfo['forumpermissions']["$forumid"];
// modified for ABT and VBT by Lynne
        
if ($forumid != '12' OR $forumid != '13') {
        if (isset(
$vbulletin->forumcache["$forumid"])
            AND (
$forumperms $vbulletin->bf_ugp_forumpermissions['canview'])
            AND (
$forumperms $vbulletin->bf_ugp_forumpermissions['canviewothers'])
            AND ((
$forumperms $vbulletin->bf_ugp_forumpermissions['canviewthreads']) OR in_array($vbulletin->GPC['type'], array('JS''XML'))) // JS/XML only shows titles
            
AND verify_forum_password($forumid$vbulletin->forumcache["$forumid"]['password'], false)
        )
            {
                
$forumchoice[] = $forumid;
            }
        }
    
// modified for ABT and VBT by Lynne
        
if ($forumid == '12' OR $forumid == '13'
        {
        if (isset(
$vbulletin->forumcache["$forumid"]))
            {
                
$forumchoice[] = $forumid;
            }
        }
// end modified for ABT and VBT
    
}
    
// Sort forums for caching purposes -- ensure they are in numeric order for best potential cache hit 

Test this yourself before using it to make sure it does what you want. It *will* show content for the forumids you input that would not normally be displayed - even a Staff forum if you input that forumid. Use at your own risk.

Bandit8007 11-11-2009 08:38 PM

oh yeah!..

thats exact what i meant to use!

many thnx Lynne! you rock! :)

this way i can set the feeds to certain forum id's
instead gaving all away..

cool job!


All times are GMT. The time now is 10:55 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.01269 seconds
  • Memory Usage 1,794KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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