<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Anti Guest Profiles]]></title>
		<link>https://punbb.informer.com/forums/topic/2493/anti-guest-profiles/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/2493/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Anti Guest Profiles.]]></description>
		<lastBuildDate>Tue, 19 Aug 2003 15:14:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4499/#p4499</link>
			<description><![CDATA[<p>Kennel, is see where you&#039;re coming from. But you have to really make it right with standards, because say if you were to have PunBB, and totally rewrote (but still no downloads we logged) it would HAVE to ve v.2 as it was completely rewrote..</p><p>Oh well it&#039;s not big deal. lol Let&#039;s just let it go.. I&#039;ll just start naming them like .01 and changing their build numbers until 1.0 if necessary. <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Kriptonic)]]></author>
			<pubDate>Tue, 19 Aug 2003 15:14:19 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4499/#p4499</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4498/#p4498</link>
			<description><![CDATA[<p>The disclaimer and the bug is hopefully fixed now. But I have no energy to test it <img src="https://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (Jansson)]]></author>
			<pubDate>Tue, 19 Aug 2003 14:36:01 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4498/#p4498</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4492/#p4492</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p><strong><em>Kriptonic wrote:</em></strong></p><p>1. I rewrote the code COMPLETELY, why would I name it 1.0.1 meaning I gave it a different build? It&#039;s a totally different version.</p></blockquote></div><p>Ok, ok. I just figured you would want to stay at version 1 since nobody ever had the opportunity to download the actual version 1.0. Well, it was here for a few hours, but that&#039;s it.</p><div class="quotebox"><blockquote><p><strong><em>Kriptonic wrote:</em></strong></p><p>2. I will RERUN it, but THAT is EXACTLY what came out.. ;)</p></blockquote></div><p>I just ran it and this is the result<br /></p><div class="codebox"><pre><code>##
##
##        Mod title:  Anti-Guest Profile
##
##      Mod version:  2.0
##   Works on PunBB:  1.0
##     Release date:  2003-08-20
##           Author:  Andrew West A.K.A. Kriptonic
##
##      Description:  This mod gives guest the error message &quot;You do not have
##                    permission to access this page.&quot; when trying to view
##                    profiles.
##
##   Affected files:  lang/en/en_common.php
##                    profile.php
##
##       Affects DB:  No
##
##            Notes:  This mod has been completely rewritten due to a
##                    suggestion made by Kennel and works the same.
##
##                    Generated with ModGenerator (http://modgen.cactuz.nu/)
##                    on: 2003-08-19 11:45:11
##
##       DISCLAIMER:  Please note that modifications are not officially
##                    supported by PunBB. Installation of this modification
##                    is
##                    done at your own risk. Backup your forum database and
##                    any and all applicable files before proceeding.
##
##


#
#---------[ 1. OPEN ]---------------------------------------------------------
#

profile.php


#
#---------[ 2. FIND (line: 27) ]----------------------------------------------
#

require &#039;include/common.php&#039;;


#
#---------[ 3. AFTER, ADD ]---------------------------------------------------
#

// Begin Anti Guest Profiles Mod
if ($cookie[&#039;is_guest&#039;])
        message($lang_common[&#039;No Guests Reading&#039;].&#039; &lt;a href=&quot;login.php&quot;&gt;&#039;.$lang_common[&#039;Login&#039;].&#039;&lt;/a&gt; &#039;.$lang_common[&#039;or&#039;].&#039; &lt;a href=&quot;register.php&quot;&gt;&#039;.$lang_common[&#039;register&#039;].&#039;&lt;/a&gt;.&#039;);
// Begin Anti Guest Profiles Mod


#
#---------[ 4. OPEN ]---------------------------------------------------------
#

lang/en/en_common.php


#
#---------[ 5. FIND (line: 8) ]-----------------------------------------------
#

&#039;lang_encoding&#039;            =&gt; &#039;iso-8859-1&#039;,


#
#---------[ 6. AFTER, ADD ]---------------------------------------------------
#

&#039;No Guests Reading&#039;             =&gt;      &#039;Only logged in users are allowed to read profiles.&#039;,


#
#---------[ 7. SAVE/UPLOAD ]--------------------------------------------------
#</code></pre></div><p>I&#039;ve changed the disclaimer a bit and sent it to Cactuz. Hopefully, he will update ModGen today. Perhaps he will then fix the small bug with the wordwrapping in the disclaimer text :-)</p>]]></description>
			<author><![CDATA[null@example.com (Rickard)]]></author>
			<pubDate>Tue, 19 Aug 2003 09:52:43 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4492/#p4492</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4491/#p4491</link>
			<description><![CDATA[<p>1. I rewrote the code COMPLETELY, why would I name it 1.0.1 meaning I gave it a different build? It&#039;s a totally different version.</p><p>2. I will RERUN it, but THAT is EXACTLY what came out.. <img src="https://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (Kriptonic)]]></author>
			<pubDate>Tue, 19 Aug 2003 01:13:59 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4491/#p4491</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4468/#p4468</link>
			<description><![CDATA[<p>First of all I would like to say this: I am very picky. If I release a version of PunBB and I find that I have a typo in a comment or an unnessecary tab in one of the scripts, I go crazy. That&#039;s how picky I am :-)</p><p>I love the fact that you guys want to help out the PunBB community (or what is to become the PunBB community), so don&#039;t get man when I barge in and complain over some tiny little detail.</p><p>I have two comments on your mod:</p><p>1. You jumped to 2.0 fairly quickly I must say. Actually, it doesn&#039;t feel like changing one if statement is reason enough to bump up the version number to 2.0. I would call this version 1.0.1.</p><p>2. Cactuz and I worked together on ModGen (he did all the coding) to make sure that anything it spits out looks exactly the way we want it. No extra spaces there and no lowercase characters there. The readme.txt you have included above does not look like something that ModGen has generated. Could you perhaps run it through ModGen again so that it conforms to &quot;the standard&quot;?</p><p>You see? Now you&#039;re thinking: What&#039;s wrong with this guy? Is he a 73 year old lady or what? :-)</p>]]></description>
			<author><![CDATA[null@example.com (Rickard)]]></author>
			<pubDate>Sun, 17 Aug 2003 21:19:58 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4468/#p4468</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4416/#p4416</link>
			<description><![CDATA[<p>I wanted a custom text there. <img src="https://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /> I will submit it now. <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Kriptonic)]]></author>
			<pubDate>Sat, 16 Aug 2003 14:31:32 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4416/#p4416</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4415/#p4415</link>
			<description><![CDATA[<p>Now submit that at PunBB Resource <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Byt why use $lang_common[&#039;No Guests Reading&#039;] when there already is a no_permission?</p>]]></description>
			<author><![CDATA[null@example.com (Jansson)]]></author>
			<pubDate>Sat, 16 Aug 2003 14:16:45 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4415/#p4415</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4413/#p4413</link>
			<description><![CDATA[<p>Ok, got bored and fixed this. I decided it to be v.2 since it was completely rewritten.</p>]]></description>
			<author><![CDATA[null@example.com (Kriptonic)]]></author>
			<pubDate>Sat, 16 Aug 2003 13:47:41 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4413/#p4413</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4409/#p4409</link>
			<description><![CDATA[<p>Ok, I may do that as 2.0 - </p><p>ETA - Whenever a feel like investigating. lol</p>]]></description>
			<author><![CDATA[null@example.com (Kriptonic)]]></author>
			<pubDate>Sat, 16 Aug 2003 12:55:50 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4409/#p4409</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4403/#p4403</link>
			<description><![CDATA[<p>Ah, the first mod to use Cactuz&#039; ModGenerator, excellent!</p><p>One tiny detail though. You should probably just check the boolean $cookie[&#039;is_guest&#039;] since $cur_user will be completely empty if it&#039;s a guest. It works the way you posted, but it&#039;s prettier with is_guest :)</p>]]></description>
			<author><![CDATA[null@example.com (Rickard)]]></author>
			<pubDate>Sat, 16 Aug 2003 10:05:13 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4403/#p4403</guid>
		</item>
		<item>
			<title><![CDATA[Anti Guest Profiles]]></title>
			<link>https://punbb.informer.com/forums/post/4401/#p4401</link>
			<description><![CDATA[<div class="codebox"><pre><code>##
##
##        Mod title:  Anti-Guest Profile
##
##      Mod version:  2.0
##   Works on PunBB:  1.0
##     Release date:  2003-08-20
##           Author:  Andrew West A.KA. Kriptonic
##
##      Description:  This mod gives guest the error message &quot;You do not have
##                    permission to access this page.&quot; When trying to view
##                    profiles.
##
##   Affected files:   lang/en/en_common.php
##                          profile.php
##
##       Affects DB:  No
##
##            Notes:  This mod has been completely rewritten due to a suggestion
##                       made by Kennel and works the same.
##
##                    Generated with ModGenerator (http://modgen.cactuz.nu/)
##                    on: 2003-08-16 08:54:55
##
##       DISCLAIMER:  Please note that modifications are not officially
##                    supported by PunBB. Installation of this modification
##                    is
##                    done at your own risk. Backup your forum database and
##                    any and all applicable files before proceeding.
##
##


#
#---------[ 1. OPEN ]---------------------------------------------------------
#

profile.php


#
#---------[ 2. FIND (line: 27) ]----------------------------------------------
#

require &#039;include/common.php&#039;;


#
#---------[ 3. AFTER, ADD ]---------------------------------------------------
#

// Begin Anti Guest Profiles Mod
if ($cookie[&#039;is_guest&#039;])
        message($lang_common[&#039;No Guests Reading&#039;].&#039; &lt;a href=&quot;login.php&quot;&gt;&#039;.$lang_common[&#039;Login&#039;].&#039;&lt;/a&gt; &#039;.$lang_common[&#039;or&#039;].&#039; &lt;a href=&quot;register.php&quot;&gt;&#039;.$lang_common[&#039;register&#039;].&#039;&lt;/a&gt;.&#039;);
// Begin Anti Guest Profiles Mod


#
#---------[4. Open]------------------------------------------------------------ 
#

lang/en/en_common.php

#
#---------[4. Find (line : 8)]------------------------------------------------------------
#

&#039;lang_encoding&#039;            =&gt; &#039;iso-8859-1&#039;,


#
#---------[5. AFTER, ADD]------------------------------------------------------
#

&#039;No Guests Reading&#039;             =&gt;      &#039;Only logged in users are allowed to read profiles.&#039;,

#
#---------[ 4. SAVE/UPLOAD ]--------------------------------------------------
#</code></pre></div><br /><p>I hope this works out nicely. A small hack, but keeps bandwidth down, I mean what guest needs to read profiles?</p>]]></description>
			<author><![CDATA[null@example.com (Kriptonic)]]></author>
			<pubDate>Sat, 16 Aug 2003 07:02:00 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/4401/#p4401</guid>
		</item>
	</channel>
</rss>
