Results 1 to 4 of 4

Thread: Putting Articles on proxies? How do I?

  1. #1
    ProxySites.ca's Avatar
    ProxySites.ca is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    ProxySites.ca
    Posts
    241
    Thanks
    29
    Thanked 3 Times in 3 Posts

    Putting Articles on proxies? How do I?

    Hey guys,

    I am looking to add some articles to my proxy...for instance schoolproxy.com

    How do I add articles to the site and keep the same theme? I have tried creating another directory but to be frank...I have no clue how to do it..lol

    Thanks in advance.

  2. #2
    Kovich's Avatar
    Kovich is offline Community Guardian
    Join Date
    Jan 2009
    Location
    Philadelphia, Pennsylvania
    Posts
    1,797
    Blog Entries
    30
    Thanks
    453
    Thanked 420 Times in 279 Posts
    See where you have this: "If you need more proxies check out proxysites.net"

    If you want, you could just put another article somewhere under that. You could also take the proxy pages and put them into a new directory - but remove the form in the middle, and replace that with an article. I could tell you how to make another directory if you tell me what you're using - cpanel, etc. In general, though, you just access your FTP and there should be a link for 'create new directory'

    Then add a link to the article you just created on your navbar. =]

  3. #3
    ProxySites.ca's Avatar
    ProxySites.ca is offline Newbie Net Builder
    Join Date
    Jul 2009
    Location
    ProxySites.ca
    Posts
    241
    Thanks
    29
    Thanked 3 Times in 3 Posts
    Hey man,

    Yeah I tried creating a new directory but I kind of got lost lol. I have cpanel.


    I am inside the public html folder and now I am in the themes folders and I am on the config file...would it be here on in the main.php

    ??

    I just do not know how to copy the look and make it a seperate file

  4. #4
    dtkguy's Avatar
    dtkguy is offline Still Learnin'
    Join Date
    Dec 2008
    Posts
    391
    Thanks
    7
    Thanked 164 Times in 108 Posts
    This functionality is built in to Glype.

    If your glype theme has the proper <!-- Content Start --> and <!-- Content End --> tags, which looking at your schoolproxy.com, it does have them. Then to replace content, create a php file with the file name you want in the root (public_html) folder, example, proxy-article.php . Now within the proxy-article.php make it look like this :

    PHP Code:
    <?php

    //initialize glype

    require 'includes/init.php';

    //new content

    $content = <<<OUT
    <div>
       <h2>Proxy Article</h2>
       <p>Blah Blah Blah. Put your article here.</p>
       <p>Continuation of article, blah blah blah.</p>
       <p>etc, etc, etc</p>
    </div>
    OUT;

    //replace content

    echo replaceContent($content);
    Notice: There is no closing php tag (?>) in this file.

    Then, you can just link to the article from within anywhere in your site, sidebar perhaps, and that new file will replace everything in your theme between the <!-- Content Start --> and <!-- Content End --> tags with the new content.

  5. Thanked by:

    Kovich (5 November, 2009)

Similar Threads

  1. Free Proxies and Selling Proxies
    By R4z0r in forum Proxy List Announcements
    Replies: 0
    Last Post: 31 January, 2010, 01:38 AM
  2. Does putting text in bold make a difference?
    By Brandon in forum Promoting
    Replies: 3
    Last Post: 28 June, 2009, 16:24 PM
  3. Proxies
    By lethalboom in forum Web Proxies
    Replies: 0
    Last Post: 27 May, 2009, 16:53 PM
  4. What would you still like to know about proxies?
    By Aquarezz in forum Web Proxies
    Replies: 23
    Last Post: 15 April, 2009, 22:23 PM
  5. Replies: 0
    Last Post: 17 January, 2009, 01:40 AM

Tags for this Thread

Bookmarks

Posting Permissions

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