Activity Stream
48,167 MEMBERS
6845 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 9 of 9

Hybrid View

chris hoppus if guest? 25th Feb 2010, 07:21 PM
Nemesis if ($context['user']['is_guest']) ... 25th Feb 2010, 07:36 PM
chris hoppus if ($context['user']['is_guest'])... 25th Feb 2010, 08:04 PM
Nemesis No, you have missed: <?php... 25th Feb 2010, 08:38 PM
chris hoppus do you know if this could go into... 25th Feb 2010, 11:16 PM
Nemesis Php, I presume. Not too sure.... 26th Feb 2010, 06:46 PM
chris hoppus any idea where to find the php... 26th Feb 2010, 09:39 PM
Nemesis Hmm, have you tried filezilla? or... 26th Feb 2010, 10:28 PM
chris hoppus in admin cpanel, with global header... 26th Feb 2010, 10:35 PM
Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member

    Default if guest?

    what's teh c0dez for if visitor is a guest, do something yada yada

    halp plz?
    chris hoppus Reviewed by chris hoppus on . if guest? what's teh c0dez for if visitor is a guest, do something yada yada halp plz? Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    seekingw.com uwddl.com generalgamers.co.uk motivatedgamerz.com
    if ($context['user']['is_guest'])


    There you go.

  4.     
    #3
    Member
    if ($context['user']['is_guest'])
    echo "dicks";

    would that work?

  5.     
    #4
    Banned
    Website's:
    seekingw.com uwddl.com generalgamers.co.uk motivatedgamerz.com
    No, you have missed:


    PHP Code: 
    <?php
    if ($context['user']['is_guest']) {
    echo 
    "dicks";
    }
    ?>

  6.     
    #5
    Member
    do you know if this could go into smf's global header and footer mod, or would i have to go directly to smf's header php file?

  7.     
    #6
    Banned
    Website's:
    seekingw.com uwddl.com generalgamers.co.uk motivatedgamerz.com
    Php, I presume. Not too sure. 'cause I'm not too sure whether it's a php file.

  8.     
    #7
    Member
    any idea where to find the php file?
    i have the glober headers and footers mod installed, and all of that is put into a .txt file. but i can't seem to find what references the .txt file.

  9.     
    #8
    Banned
    Website's:
    seekingw.com uwddl.com generalgamers.co.uk motivatedgamerz.com
    Hmm, have you tried filezilla? or in your admincp, themes, edit them: footer & header.

  10.     
    #9
    Member
    in admin cpanel, with global header and footer mod, it's all editted into a .txt file. means it won't support php.

    i use firezilla for FTP. and i can't seem to find the PHP file that includes the .txt files. i guess i'll hit up the SMF support forums

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. The right price for guest posts?
    By mwdar in forum Webmaster Discussion
    Replies: 2
    Last Post: 24th Jul 2011, 07:36 PM
  2. reCaptcha for guest
    By gregdg1 in forum phpBB
    Replies: 0
    Last Post: 7th Jan 2011, 12:44 AM
  3. Guest section or not?
    By Seifer in forum Polling Plaza
    Replies: 16
    Last Post: 5th Nov 2009, 05:36 AM
  4. Guest Section or No?
    By sherwood in forum Webmaster Discussion
    Replies: 20
    Last Post: 28th May 2009, 06:58 PM
  5. Guest Section Or No Guest Section???
    By .m0zilla in forum Forum and DDL Discussion
    Replies: 10
    Last Post: 18th Feb 2009, 09:32 PM

Tags for this Thread

BE SOCIAL