Results 1 to 5 of 5

Thread: Link Variable Quesions - All At Once

  1. #1
    Banned
    Join Date
    Nov 2007
    Posts
    87

    Default Link Variable Quesions - All At Once

    I know many of my questions sound like they are coming from a 1st grader, but I hope someone can answer.

    1) In the product description of VBA Links v3.0 Beta 2, it states "Custom field data is now cached so it can be accessed throughout the software without the need for a query to gather the data."

    http://www.vbadvanced.com/forum/show...606#post149606

    In simple terms, what exactly does this mean? Can you give a practical example?

    2) $vboption[homeurl] is for root of the domain.
    $vboption[bburl] is for forum root of the domain.

    What is the Link root of the domain? $vboption[linkurl]? Do you have anything for this?

    3) When searching through code, I always see $link[name], $link[linkURL], $link[catid], $link[description], etc. Let's say I want to set up a simple array to print out the contents of my links. However, I want to do it as a stand alone mod, just simple code.

    I really want to understand the basics of the VBA Link fields. I've searched every thread and there is no example of this.

    Can someone help give a simple example of this?


    Those are my questions. I know I sound like a first grader, but I want to really understand this.
    Last edited by drynax; 07-05-2008 at 09:57 AM.

  2. #2
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,460

    Default Re: Link Variable Quesions - All At Once

    1). Just replied in the thread where you asked.

    2). You can use $vba_options[links_homeurl] when browsing the links directory, but that variable is not available when browsing vB (no point in calling the vBa Links settings where they're not used).

    3). You would need to write a query to pull the data you want and the corresponding while() loop to process each row from the query.

  3. #3
    Banned
    Join Date
    Nov 2007
    Posts
    87

    Default Re: Link Variable Quesions - All At Once

    Quote Originally Posted by Brian View Post
    1). Just replied in the thread where you asked.

    2). You can use $vba_options[links_homeurl] when browsing the links directory, but that variable is not available when browsing vB (no point in calling the vBa Links settings where they're not used).

    3). You would need to write a query to pull the data you want and the corresponding while() loop to process each row from the query.
    -------------------------------

    I feel like a 1st grader again for asking this...

    Is there a simple example of pulling the Query? Is there a simple example of the while() loop? I've searched everywhere in the Forums and couldn't find an example.

    Second,

    Is there a way to make $vba_options[links_homeurl] global?
    Last edited by drynax; 07-05-2008 at 01:38 PM.

  4. #4
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,460

    Default Re: Link Variable Quesions - All At Once

    vB has some documentation on their functions here.

  5. #5
    Banned
    Join Date
    Nov 2007
    Posts
    87

    Default Re: Link Variable Quesions - All At Once

    Cool. Thanks! I'll take a look at it now.
    ---------------
    Quote Originally Posted by Brian View Post
    vB has some documentation on their functions here.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. variable
    By mark737 in forum "How Do I..." Questions
    Replies: 0
    Last Post: 12-01-2007, 04:13 PM
  2. page variable?
    By BuckyBoy in forum Module & Modification Discussion & Requests
    Replies: 1
    Last Post: 06-27-2007, 06:31 PM
  3. What is the variable name for....
    By 58sniper in forum Troubleshooting / "How do I..." Questions
    Replies: 5
    Last Post: 08-02-2004, 02:18 PM
  4. Page='s Variable
    By Ian Gordon in forum Troubleshooting / "How do I..." Questions
    Replies: 9
    Last Post: 06-15-2004, 11:00 AM
  5. ?page=xxx&variable=XXX
    By Mike_XBLW in forum Troubleshooting / "How do I..." Questions
    Replies: 3
    Last Post: 05-19-2004, 07:35 PM

Posting Permissions

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