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 - nguago

Pages: [1] 2
1
ok, nice! thanks very much!
But I want admin choose template for each category !
mean: member profile, details, uploadform... is changed

EX: I have a site. have 2 CAT: Images and Download file
Cat Images as a site
Cat Download as a site
each category have a template

Help me Please !

2
ok, nice! thanks very much!
But I want admin choose template for each category !
mean: member profile, details, uploadform... is changed

EX: I have a site. have 2 CAT: Images and Download file
Cat Images as a site
Cat Download as a site
each category have a template

Help me Please !

3
Mods & Plugins (Requests & Discussions) / Re: [MOD] SMF integration
« on: November 24, 2008, 08:59:13 AM »
new error:
Quote
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in E:\AppServ\www\forums\smf_api.php on line 162

4
I want to MOD allows selected template for each category !

If can even choose the language! (not important)

Help me !

5
try this then:
Code: [Select]
<?php
global $site_sess;
echo 
'<a href="'.$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode("{image_name}")).'">{image_name}</a>';
?>

I edited:

look for:
Quote
{image_keywords}

replace with
Quote
{image_keywords}, <?php
global $site_sess;
echo '<a href="'.$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode("{image_name}")).'">';
?>{image_name}</a>

6
A ha, I understand wrong. now understand.

7
Mods & Plugins (Requests & Discussions) / Re: [MOD] SMF integration
« on: November 24, 2008, 03:44:16 AM »
Thanks, i'm finished !

copy
smf_api.php
smf_api_2.php
smf_api_2_examples.php
smf_api_subs.php

To /forums

But error:
Warning: require(./../../forums/smf_api_2.php) [function.require]: failed to open stream: No such file or directory in E:\AppServ\www\gallery\includes\sessions.php on line 58

file sessions.php on line 85:
Quote
require(ROOT_PATH.'../../forums/smf_api_2.php'); //change paths to your forums directory



8
Mods & Plugins (Requests & Discussions) / Re: [MOD] SMF integration
« on: November 23, 2008, 10:21:21 PM »
Code: [Select]
if (($context['user']['is_owner'] && allowedTo('profile_remove_own')) || allowedTo('profile_remove_any'))
$context['profile_areas']['profile_action']['areas']['deleteAccount'] = '<a href="' . $scripturl . '?action=profile;u=' . $memID . ';sa=deleteAccount">' . $txt['deleteAccount'] . '</a>';

no have in the sources\profile.php file.
I use SMF 1.1.7

Help :)

9
PHP Version 5.2.3

System    Windows NT NGUAGO 5.1 build 2600
Build Date    May 31 2007 09:36:39
Configure Command    cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
Server API    Apache 2.0 Handler
Virtual Directory Support    enabled
Configuration File (php.ini) Path    C:\WINDOWS
Loaded Configuration File    C:\WINDOWS\php.ini
PHP API    20041225
PHP Extension    20060613
Zend Extension    220060519
Debug Build    no
Thread Safety    enabled
Zend Memory Manager    enabled
IPv6 Support    enabled
Registered PHP Streams    php, file, data, http, ftp, compress.zlib
Registered Stream Socket Transports    tcp, udp
Registered Stream Filters    convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

10
I test on localhost, arther file is success
MP3 is no !

11
Mods & Plugins (Requests & Discussions) / Re: [MOD] SMF integration
« on: November 23, 2008, 08:23:13 PM »
Thanks  :P

12
Code: [Select]
Warning: rename(popup_03_3.jpg,popup_03_3.jpg.shd) [function.rename]: No such file or directory in E:\AppServ\www\media\includes\annotate.php on line 12
install Ajax imageshow in detailsview successfull but error MOD annotate by SLL
Help me !

13
help ! :cry:

15
Code: [Select]
<meta name="description" content="{image_description},{image_name}">
<meta name="keywords" content="{image_keywords},{image_name}">

Right?

Pages: [1] 2