+ Reply to Thread
Results 1 to 2 of 2

Thread: Grabbing headlines from a nuke sites forums

  1. Join Date
    May 2005
    Posts
    1

    Grabbing headlines from a nuke sites forums

    Hello,

    I am using your forum news script on www.webblets.com and i love it, thank you!

    My big question is, there are two other sites, both nuke sites, that i would like to pull headlines from. However, the forum news script requires a directory/ type of entry, and the forum path for a nuke site is this: http://www.familyfunintheusa.com/index.php?name=Forums

    Is there a way to get your script to pull from a nuke site forum board? I already tried the full path and it didnt work either, like www.familyfunintheusa.com/modules/Forums/ doesnt work.

    Thank you,
    Becky

  2. Join Date
    Aug 2004
    Posts
    781

    Grabbing headlines from a nuke sites forums

    I actually considered this problem when creating the script. Before I go into options, there are a couple of things to consider:

    First, realize that the links within those forums, while based around such software as PHPBB, etc, may actually be different from that forum's standard.

    The other thing to consider is whether or not you calling from multiple forums (i.e. multiple websites).

    Here are your options:

    1. If you are pulling the news from only a single website's forum, then you can simply edit the news/headline template with custom URL code, for example, you would modify the headlines template to be:
    Code:
    · <a href="http://www.familyfunintheusa.com/index.php?name=Forums&file=viewtopic&t=!!THREADID!!">!!TITLE!!</a><br>
    and you would change !!NEWS_URL!! to the following in your news post as well:
    Code:
    http://www.familyfunintheusa.com/index.php?name=Forums&file=viewtopic&t=!!THREADID!!
    2. Your other option is to manually edit the configuration file. I would prefer option 1 because you may mess up the configuration format in this manner (if you are not careful) which may cause the administration to stop working. Simply open up config/config.php and modify:
    Code:
    $this->FORUM[0]['url'] = "URL HERE";
    Placing your URL where URL HERE is.

    This will modify the url for forum 1, if you want to modify forum 2 then it would be [1] instead of [0].

    It may all sound confusing but it really is quite simple.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts