Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lesmond

Pages: [1]
1
Mods & Plugins (Requests & Discussions) / Re: [MOD] SMF integration
« on: October 17, 2008, 03:56:40 AM »
I did rem it out, and the error has gone now, nor do I see any errors in my log, thanks very much budduke  :D

2
Mods & Plugins (Requests & Discussions) / Re: [MOD] SMF integration
« on: October 15, 2008, 05:10:21 PM »

If I remember correctly, the root_path is the path to the root of your gallery and not the root of the server.
I would try...
Code: [Select]
require(ROOT_PATH.'../smf_api_2.php'); //change paths to your forums directory
require(ROOT_PATH.'../smf_api.php');     //change paths to your forums directory

I am not where I can test it for you but I think the "../" will take it up one directory level which should take it to the forum directory.

OK that worked, I can see the page, but I am now getting this error at the top of the page...
Code: [Select]
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/xxxxxx/public_html/xxxxxx.co.uk/smf_api.php on line 162
Line 162 in smf_api.php is....
Code: [Select]
156  $request = smf_query("
157 SELECT variable, value
158 FROM {$db_prefix}settings", __FILE__, __LINE__);
159 $smf_settings = array();
160 while ($row = @mysql_fetch_row($request))
161 $smf_settings[$row[0]] = $row[1];
162 mysql_free_result($request);
163  }

3
Mods & Plugins (Requests & Discussions) / Re: [MOD] SMF integration
« on: October 14, 2008, 09:51:59 PM »
I seem to be having problems with the api files, my forum is in the root, not in its own folder, this is what I am getting when I try the access 4images page, I have 4images in its own folder within the root.
Code: [Select]
Warning: require(./public_html/xxxxxxl.co.uk/smf_api_2.php) [function.require]: failed to open stream: No such file or directory in /home/uk/public_html/xxxxxx.co.uk/4images/includes/sessions.php on line 57

Warning: require(./public_html/xxxxxxl.co.uk/smf_api_2.php) [function.require]: failed to open stream: No such file or directory in /home/uk/public_html/xxxxxx.co.uk/4images/includes/sessions.php on line 57
and in the sessions.php I have this..
Code: [Select]
//MOD SMF integration
require(ROOT_PATH.'public_html/xxxxxx.co.uk/smf_api_2.php'); //change paths to your forums directory
require(ROOT_PATH.'public_html/xxxxxxl.co.uk/smf_api.php');     //change paths to your forums directory
global $smf_settings, $smf_user_info;
//END MOD SMF

I have tried it number of ways, but not having any luck at all  :oops:

4
Chit Chat / Re: Marry Christmas!
« on: December 24, 2005, 05:01:14 PM »
I would like to wish all members, mods and admin A very happy Christmas

les

5
Mods & Plugins (Requests & Discussions) / Re: MOD New options on postcards
« on: November 24, 2005, 12:37:14 AM »
I dont usually bump my own post's, but I would like to use this mod on my siite,(or something similar)  if any any one could help I would be very greatfull
Thanks Les :D

6
Mods & Plugins (Requests & Discussions) / Re: MOD New options on postcards
« on: November 21, 2005, 04:58:59 PM »
Is There anyone that can translate this mod to English Please :D I wish I could but I cant read spanish nore am I much good with PHP :oops:

Hay cualquier persona que pueda traducir esta MOD al inglés por favor, yo desea que podría pero biselo leí el nore español soy yo mucho bueno con PHP

http://www.4homepages.de/forum/index.php?topic=7348.msg32686#msg32686

7
Templates & Styles (Releases & Support) / Re: 5 new Basic 1.7 templates
« on: November 17, 2005, 04:28:25 PM »
U select it in the wrong place, it must be done in the settings.

Thanks very much, thought I was doing something wrong :oops:

8
Templates & Styles (Releases & Support) / Re: 5 new Basic 1.7 templates
« on: November 16, 2005, 03:00:48 PM »
Hi Great templates :D But I dont seem to be able to use them, unless I change the folder name to "default" thay show up in my template settings and I can Select the Template Pack, but they just wont change from the default :(

I am running apache 2 with php5 and msql 4, on my local pc

Many Thanks Les

Pages: [1]