<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.webmastersite.net/forums/templates/bootstrap/rss.css" ?>
<rss version="2.0"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:media="http://search.yahoo.com/mrss/"
 xmlns:atom="http://www.w3.org/2005/Atom"
 xmlns:georss="http://www.georss.org/georss"> 
<channel>
<title>WebmasterSite.net</title>
<link>https://www.webmastersite.net/forums</link>
<description></description>
<language>en-us</language>
<atom:link href="https://www.webmastersite.net/forums/rssfeed.php?thecondition=ownerid%3D925" rel="self" type="application/rss+xml" />

<item>
<title>e107 integration</title>
<description><![CDATA[I have been looking at the integration tools.  Here&#039;s what I know so far:

- e107 uses 1 cookie (default name = &quot;e107cookie&quot;)

- cookie is in format [b]id#.encpasswd[/b] where id# is obviouslty the user&#039;s id number, and encpasswd is the password in the database (text password having been run through md5) run through md5 again.  Eg. if the text password was Password, then the database would contain dc647eb65e6711e155375218212b3964, and the cookie would contain b8498ee29e56e711a268ae8cc461ae94.

- the field in the database to determine if a user is valid (user_ban) uses 0 to show a user is valid, and 1 if they are not.  This may be why I get 0 members listed, and errors show when I try to list users ( see http://urbanlines.net/gallery/memberlist.php?debug=1 ).

I have added the following integration code[code]?php
 $memberstable = &#039;ul_e107_user&#039;;

 $newusergroup = &#039;user_class&#039;;
 $newname = &#039;user_loginname&#039;;
 $newid = &#039;user_id&#039;;
 $newpassword = &#039;user_password&#039;;
 $newemail = &#039;user_email&#039;;
 $newtime = &#039;user_join&#039;;
 $newip = &#039;user_ip&#039;;
 $newvalidated = &#039;user_ban&#039;;
 $newsignature = &#039;user_signature&#039;;
 $newlocation = &#039;&#039;;
 $newbio = &#039;&#039;;
 $newhomepage = &#039;&#039;;
 $newoccupation = &#039;&#039;;
 $newaim = &#039;&#039;;
 $newmsn = &#039;&#039;;
 $newicq = &#039;&#039;;
 $newyahoo = &#039;&#039;;
 $newcustomtitle = &#039;user_customtitle&#039;;
 $newinterests = &#039;&#039;;
 $newsalt = &#039;&#039;;

 $otherencoder = &#039;no&#039;;

 $admingroup = &#039;-1&#039;;
 $group4 = &#039;&#039;;
 $group5 = &#039;&#039;;

 $idcookiename = &#039;e107cookie&#039;;
 $passwordcookiename = &#039;&#039;;
 $cookietype = &#039;&#039;;
 $idindex = &#039;&#039;;
 $passwordindex = &#039;&#039;;
 $cookieidtype = &#039;&#039;;

 ?[/code]

Results so far are that it recognises when I put the correct username/password in (tells me if it&#039;s wrong) but then it still doesn&#039;t log me in.  It creates 4 cookies:
- e107cookie (userid)
- wsnpass (password as in database)
- testcookie (userid)
- returnto (page I tried to log in from)

I&#039;m a bit stuck on getting it to read/write the cookies.  I&#039;m guessing I need to add [b]$cookietype = &#039;e107&#039;;[/b] then edit classes/members.php to include an [b]else if ($cookietype == &quot;e107&quot;)[/b] section or 2, but not sure what or where.

Is this going to be a simple job, or will loads of complicated changes be needed?]]></description>
<link>https://www.webmastersite.net/forums/threads/e-integration-6855.html</link>
<pubDate>Sun, 08 Oct 2006 17:25:03 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/6855/</guid>
<content:encoded><![CDATA[I have been looking at the integration tools.  Here's what I know so far:

- e107 uses 1 cookie (default name = "e107cookie")

- cookie is in format <b>id#.encpasswd</b> where id# is obviouslty the user's id number, and encpasswd is the password in the database (text password having been run through md5) run through md5 again.  Eg. if the text password was Password, then the database would contain dc647eb65e6711e155375218212b3964, and the cookie would contain b8498ee29e56e711a268ae8cc461ae94.

- the field in the database to determine if a user is valid (user_ban) uses 0 to show a user is valid, and 1 if they are not.  This may be why I get 0 members listed, and errors show when I try to list users ( see <a href="http://urbanlines.net/gallery/memberlist.php?debug=1" rel="nofollow" target="_blank">http://urbanlines.net/gallery/memberlist.php?debug=1</a> ).

I have added the following integration code<pre class="code">&#60;?php
 $memberstable = 'ul_e107_user';

 $newusergroup = 'user_class';
 $newname = 'user_loginname';
 $newid = 'user_id';
 $newpassword = 'user_password';
 $newemail = 'user_email';
 $newtime = 'user_join';
 $newip = 'user_ip';
 $newvalidated = 'user_ban';
 $newsignature = 'user_signature';
 $newlocation = '';
 $newbio = '';
 $newhomepage = '';
 $newoccupation = '';
 $newaim = '';
 $newmsn = '';
 $newicq = '';
 $newyahoo = '';
 $newcustomtitle = 'user_customtitle';
 $newinterests = '';
 $newsalt = '';

 $otherencoder = 'no';

 $admingroup = '-1';
 $group4 = '';
 $group5 = '';

 $idcookiename = 'e107cookie';
 $passwordcookiename = '';
 $cookietype = '';
 $idindex = '';
 $passwordindex = '';
 $cookieidtype = '';

 ?&#62;</pre>

Results so far are that it recognises when I put the correct username/password in (tells me if it's wrong) but then it still doesn't log me in.  It creates 4 cookies:
- e107cookie (userid)
- wsnpass (password as in database)
- testcookie (userid)
- returnto (page I tried to log in from)

I'm a bit stuck on getting it to read/write the cookies.  I'm guessing I need to add <b>$cookietype = 'e107';</b> then edit classes/members.php to include an <b>else if ($cookietype == "e107")</b> section or 2, but not sure what or where.

Is this going to be a simple job, or will loads of complicated changes be needed?]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/e-integration-6855.html</comments>   
</item>

<item>
<title>Image comment issues</title>
<description><![CDATA[2 things in 1 which may or may not be related;

1) I can&#039;t get WSN codes to work in comments.  It was working fine, but after some time editing templates (and possible doing some changes to config) it no longer works.  I have checked the switch to allow wsn codes (id=9 name=wsncodes value=1).  The markup table seems to be complete and populated.  The setting for WSN codes (id=40) seems to be empty, but copying in the data from an old database doesn&#039;t help.  Any other ideas?

2) When I post a comment, I get the following error:
[code]br /
bWarning/b:  mysql_fetch_row(): supplied argument is not a valid MySQL result resource in b/homepages/..../gallery/classes/database.php/b on line b94/bbr /
head
titleWSN Gallery/title

link rel=&quot;stylesheet&quot; href=&quot;templates/styles/default.css&quot; type=&quot;text/css&quot;

/head

body

 pWSN Gallery is unable to render this page. The reason is described below:

 div class=&quot;main&quot;No such content exists. The link you are following seems to have been incorrect./div

 pVersion info: WSN Gallery 2.3.7/p

 pIf you are not the administrator of this site, please report this error to the administrator./p

/body
/html[/code] but the comment does end up in the database.]]></description>
<link>https://www.webmastersite.net/forums/threads/image-comment-issues-6848.html</link>
<pubDate>Wed, 04 Oct 2006 23:49:12 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/6848/</guid>
<content:encoded><![CDATA[2 things in 1 which may or may not be related;

1) I can't get WSN codes to work in comments.  It was working fine, but after some time editing templates (and possible doing some changes to config) it no longer works.  I have checked the switch to allow wsn codes (id=9 name=wsncodes value=1).  The markup table seems to be complete and populated.  The setting for WSN codes (id=40) seems to be empty, but copying in the data from an old database doesn't help.  Any other ideas?

2) When I post a comment, I get the following error:
<pre class="code">&#60;br /&#62;
&#60;b&#62;Warning&#60;/b&#62;:  mysql_fetch_row(): supplied argument is not a valid MySQL result resource in &#60;b&#62;/homepages/..../gallery/classes/database.php&#60;/b&#62; on line &#60;b&#62;94&#60;/b&#62;&#60;br /&#62;
&#60;head&#62;
&#60;title&#62;WSN Gallery&#60;/title&#62;

&#60;link rel="stylesheet" href="templates/styles/default.css" type="text/css"&#62;

&#60;/head&#62;

&#60;body&#62;

 &#60;p&#62;WSN Gallery is unable to render this page. The reason is described below:

 &#60;div class="main"&#62;No such content exists. The link you are following seems to have been incorrect.&#60;/div&#62;

 &#60;p&#62;Version info: WSN Gallery 2.3.7&#60;/p&#62;

 &#60;p&#62;If you are not the administrator of this site, please report this error to the administrator.&#60;/p&#62;

&#60;/body&#62;
&#60;/html&#62;</pre> but the comment does end up in the database.]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/image-comment-issues-6848.html</comments>   
</item>

<item>
<title>[function.getimagesize]</title>
<description><![CDATA[Any idea why some of my images are barfing when asking them to show thumbnails as in the example page?  All the images are from the same camera and editing software.

I get one error message for each of the failed thumbnails:

[code]Warning: getimagesize() [function.getimagesize]: Read error! in /homepages/21/d86207139/htdocs/urbanlines.net/gallery/classes/onelink.php on line 2231[/code]
I can view the images themselves fine however.

Sorry about the recent flurry of questions.  Should have been upgrading more regularly I reckon.]]></description>
<link>https://www.webmastersite.net/forums/threads/functiongetimagesize-6840.html</link>
<pubDate>Wed, 04 Oct 2006 01:43:19 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/6840/</guid>
<content:encoded><![CDATA[Any idea why some of my images are barfing when asking them to show thumbnails as in the example page?  All the images are from the same camera and editing software.

I get one error message for each of the failed thumbnails:

<pre class="code">Warning: getimagesize() [function.getimagesize]: Read error! in /homepages/21/d86207139/htdocs/urbanlines.net/gallery/classes/onelink.php on line 2231</pre>
I can view the images themselves fine however.

Sorry about the recent flurry of questions.  Should have been upgrading more regularly I reckon.]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/functiongetimagesize-6840.html</comments>   
</item>

<item>
<title>Category SUBSUB in templates</title>
<description><![CDATA[I made a slight change to main.tpl and displaylinks.tpl so that the subcategories list vertically rather than as comma separated on a line;

<pre class=&quot;code&quot;> ul
 BEGIN SUBSUB 
 lia href=&quot;index.php?action=displaycat&amp;catid=CATID}&quot; class=&quot;categoryname&quot;CATNAME}/a/li
 END SUBSUB 
 /ul</pre>
However, this seems to have no effect.  No matter what I put in the SUBSUB section, the result is the same comma list.  Even if I remove all code in that section.  Have I mistakenly changed a variable which controls this, as it did list vertically previously.

Thanks]]></description>
<link>https://www.webmastersite.net/forums/threads/category-subsub-in-templates-6839.html</link>
<pubDate>Wed, 04 Oct 2006 01:34:43 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/6839/</guid>
<content:encoded><![CDATA[I made a slight change to main.tpl and displaylinks.tpl so that the subcategories list vertically rather than as comma separated on a line;

<pre class="code"> &#60;ul&#62;
&#60;&#33;&#45;&#45; BEGIN SUBSUB &#45;&#45;&#62;
 &#60;li&#62;&#60;a href="index.php?action=displaycat&catid=&#123;CATID}" class="categoryname"&#62;&#123;CATNAME}&#60;/a&#62;&#60;/li&#62;
&#60;&#33;&#45;&#45; END SUBSUB &#45;&#45;&#62;
 &#60;/ul&#62;</pre>
However, this seems to have no effect.  No matter what I put in the SUBSUB section, the result is the same comma list.  Even if I remove all code in that section.  Have I mistakenly changed a variable which controls this, as it did list vertically previously.

Thanks]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/category-subsub-in-templates-6839.html</comments>   
</item>

<item>
<title>Thumbnail problem</title>
<description><![CDATA[I have finally got around to upgrading my version of the gallery software.  After a few teething problems (the admin control panel adding blank lines into the config.php) I have it mostly working now.  One problem I&#039;m having though is linking to thumbnails from outside the gallery.

Previously I just used the format:

http://urbanlines.net/gallery/thumbnail.php?id=1969&amp;thumbheight=150&amp;thumbwidth=150

where the id is the id of the image to be thumbnailed.  However, this no longer works.  It seems I need to find 2 numbers now, as in this format:

http://urbanlines.net/gallery/thumbnail.php?id=1375&amp;attachid=1235&amp;thumbwidth=200&amp;thumbheight=200

The id is still the id of the full size image, but now there&#039;s an extra field, attachid.  This looks completely unrelated to the image number.  This just adds work for me when I want to show thumbnails.  Is there a way around it?

Cheers]]></description>
<link>https://www.webmastersite.net/forums/threads/thumbnail-problem-6828.html</link>
<pubDate>Sat, 30 Sep 2006 02:32:41 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/6828/</guid>
<content:encoded><![CDATA[I have finally got around to upgrading my version of the gallery software.  After a few teething problems (the admin control panel adding blank lines into the config.php) I have it mostly working now.  One problem I'm having though is linking to thumbnails from outside the gallery.

Previously I just used the format:

<a href="http://urbanlines.net/gallery/thumbnail.php?id=1969&thumbheight=150&thumbwidth=150" rel="nofollow" target="_blank">urbanlines.net/gallery/thum...bheight=150&thumbwidth=150</a>

where the id is the id of the image to be thumbnailed.  However, this no longer works.  It seems I need to find 2 numbers now, as in this format:

<a href="http://urbanlines.net/gallery/thumbnail.php?id=1375&attachid=1235&thumbwidth=200&thumbheight=200" rel="nofollow" target="_blank">urbanlines.net/gallery/thum...bwidth=200&thumbheight=200</a>

The id is still the id of the full size image, but now there's an extra field, attachid.  This looks completely unrelated to the image number.  This just adds work for me when I want to show thumbnails.  Is there a way around it?

Cheers]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/thumbnail-problem-6828.html</comments>   
</item>

</channel>
</rss>