<?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%3D1756" rel="self" type="application/rss+xml" />

<item>
<title>Adding category fields - Error</title>
<description><![CDATA[Hi,

I get the following error appearing on the add category page and I also get this error when I try to log back into admin so I can&#039;t access admin. I get around the error by going into phpmyadmin and deleteing the extra fields I have just added via wsnlinks from the wsnlinks_catogories table

The error occurs after I have added additional category fields from the add field page within admin.

Basicly, when a new category is added, I need 3 additional fields to be added to the database from the add category input page.

How do I add these 3 category fields. It appears that when I add fields to category some other item must need to be changed, what is it? Does the number of fields in category have to be specified somewhere?

The error is 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /content/DesignerPlus/p/r/www.propertyport.co.uk/web/classes/database.php on line 108

Best regards

Hyper Al]]></description>
<link>https://www.webmastersite.net/forums/threads/adding-category-fields-error-5575.html</link>
<pubDate>Sun, 18 Sep 2005 08:12:17 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/5575/</guid>
<content:encoded><![CDATA[Hi,

I get the following error appearing on the add category page and I also get this error when I try to log back into admin so I can't access admin. I get around the error by going into phpmyadmin and deleteing the extra fields I have just added via wsnlinks from the wsnlinks_catogories table

The error occurs after I have added additional category fields from the add field page within admin.

Basicly, when a new category is added, I need 3 additional fields to be added to the database from the add category input page.

How do I add these 3 category fields. It appears that when I add fields to category some other item must need to be changed, what is it? Does the number of fields in category have to be specified somewhere?

The error is 

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /content/DesignerPlus/p/r/www.propertyport.co.uk/web/classes/database.php on line 108

Best regards

Hyper Al]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/adding-category-fields-error-5575.html</comments>   
</item>

<item>
<title>Using thumbnail.php on static pages.</title>
<description><![CDATA[I have created 5 new fields named LINKIMAGE1ATTACH to LINKIMAGE5ATTACH

The input form is working OK and the images upload OK as I have checked them via FTP.

On the static custom html_details template I have included the following code. I show just code for one image.

table width=&quot;730&quot; border=&quot;3&quot; cellspacing=&quot;1&quot; cellpadding=&quot;1&quot; bordercolor=&quot;#66CC99&quot; height=&quot;100%&quot; align=&quot;center&quot;
tr 
td valign=&quot;top&quot; bgcolor=&quot;#FFFFFF&quot; bordercolor=&quot;#009999&quot; align=&quot;center&quot;
img src=&quot;thumbnail.php?id=LINKID}&amp;field=linkimage1attach&amp;thumbwidth=200&amp;thumbheight=200&quot;
brLINKIMAGETITLE5}
/td
/tr
/table

The above code was pulled from the WSN Links Manual from chapter &#039;Custom File Attachment Fields&#039;

The trouble is no image appears.

I have tried the above using CAPITALS for the field, but no luck

On the same template I have

img src=&quot;thumbnail.php?id=LINKID}&quot; 

And this works

So the paths to the attachments directory and thumbnail.php must be correct.

I have taken a look at thumbnail.php and have found the bit were 

if ($field != &#039;&#039;)

 $parts = explode(&#039;[,]&#039;, $thelink-$field);
 $thelink-filename = $parts[0];  
 $thelink-xwidth = $parts[3];
 $thelink-yheight = $parts[4];
}

I just can&#039;t see what is wrong, but I am not a php coder.

Can anyone explain how I get a thumbnail displayed using an ATTACH file upload?

I would like add that despite this problem I am having, WSN Links is excellent no other links package comes anywhere close to it.

Thanks

Alastair]]></description>
<link>https://www.webmastersite.net/forums/threads/using-thumbnailphp-on-static-pages-5174.html</link>
<pubDate>Tue, 07 Jun 2005 14:27:00 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/5174/</guid>
<content:encoded><![CDATA[I have created 5 new fields named LINKIMAGE1ATTACH to LINKIMAGE5ATTACH

The input form is working OK and the images upload OK as I have checked them via FTP.

On the static custom html_details template I have included the following code. I show just code for one image.

&#60;table width="730" border="3" cellspacing="1" cellpadding="1" bordercolor="#66CC99" height="100%" align="center"&#62;
&#60;tr&#62; 
&#60;td valign="top" bgcolor="#FFFFFF" bordercolor="#009999" align="center"&#62;
&#60;img src="thumbnail.php?id=&#123;LINKID}&field=linkimage1attach&thumbwidth=200&thumbheight=200"&#62;
&#60;br&#62;&#123;LINKIMAGETITLE5}
&#60;/td&#62;
&#60;/tr&#62;
&#60;/table&#62;

The above code was pulled from the WSN Links Manual from chapter 'Custom File Attachment Fields'

The trouble is no image appears.

I have tried the above using CAPITALS for the field, but no luck

On the same template I have

&#60;img src="thumbnail.php?id=&#123;LINKID}"&#62; 

And this works

So the paths to the attachments directory and thumbnail.php must be correct.

I have taken a look at thumbnail.php and have found the bit were 

if ($field != '')
&#123;
 $parts = explode('[,]', $thelink-&#62;$field);
 $thelink-&#62;filename = $parts[0];  
 $thelink-&#62;xwidth = $parts[3];
 $thelink-&#62;yheight = $parts[4];
}

I just can't see what is wrong, but I am not a php coder.

Can anyone explain how I get a thumbnail displayed using an ATTACH file upload?

I would like add that despite this problem I am having, WSN Links is excellent no other links package comes anywhere close to it.

Thanks

Alastair]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/using-thumbnailphp-on-static-pages-5174.html</comments>   
</item>

<item>
<title>Missing argument 1 for sendsubscriptions</title>
<description><![CDATA[This error occurs when I add sub-categories or links.

Warning: Missing argument 1 for sendsubscriptions() in /content/DesignerPlus/b/e/www.bedsaway.co.uk/web/classes/category.php on line 325

It occurs after clicking the submission and appears on the page prior to refresh taking you to the sub category.

The sub-category appears to get added despite the error. If I attempt to add a link the link does not appear.

I am logged in as the administrator when I get these errors.

Any explanation for this error and how I resolve it.

Thanks]]></description>
<link>https://www.webmastersite.net/forums/threads/missing-argument-for-sendsubscriptions-5018.html</link>
<pubDate>Tue, 12 Apr 2005 14:41:40 GMT</pubDate>
<guid>https://www.webmastersite.net/forums/thread/5018/</guid>
<content:encoded><![CDATA[This error occurs when I add sub-categories or links.

Warning: Missing argument 1 for sendsubscriptions() in /content/DesignerPlus/b/e/www.bedsaway.co.uk/web/classes/category.php on line 325

It occurs after clicking the submission and appears on the page prior to refresh taking you to the sub category.

The sub-category appears to get added despite the error. If I attempt to add a link the link does not appear.

I am logged in as the administrator when I get these errors.

Any explanation for this error and how I resolve it.

Thanks]]></content:encoded>
<comments>https://www.webmastersite.net/forums/threads/missing-argument-for-sendsubscriptions-5018.html</comments>   
</item>

</channel>
</rss>