Search found 146 matches

by amin30b
Mon Nov 28, 2011 3:58 am
Forum: General Discussion
Topic: Multi-Language Websites Poll
Replies: 54
Views: 118927

Re: Multi-Language Websites Poll

Thanks for this discussion. I have a website in Farsi language and newly I need to have its content in English language too. Now I should do many tips and tricks to have a well structured multi-language website, but I hope development team put multi-language capabilities in the core and make this pr...
by amin30b
Sat Feb 19, 2011 4:46 pm
Forum: Modules/Add-Ons
Topic: Could I generate data and send it via FormBuilder?
Replies: 5
Views: 2543

Re: How could I make a validator for my forms?

How could I make a validator for my forms? I mean that I have a form that contains (user code) field: ------------ User Code ------------ If the entered code (user code) there is in database user can fill and send the form else he/she will receive an error message. I hope somebody help me to code ab...
by amin30b
Fri Feb 18, 2011 5:27 pm
Forum: Modules/Add-Ons
Topic: Could I generate data and send it via FormBuilder?
Replies: 5
Views: 2543

Re: Could I generate data and send it via FormBuilder?

Formbuilder has a fieldtype " Unique Integer (Serial) ". Aren't you able to use that? Yes, it can be used too.There is no difference but I prefer a random string with 10 characters length. But now there is another issue!!! I have user code or user ID in database, how can I fetch other dat...
by amin30b
Fri Feb 18, 2011 2:59 pm
Forum: Modules/Add-Ons
Topic: Could I generate data and send it via FormBuilder?
Replies: 5
Views: 2543

Re: Could I generate data and send it via FormBuilder?

I created a User Defined Tag (let`s assume its name is "user_random_code") to generate random code : function genRandomString() { $length = 10; $characters = "0123456789abcdefghijklmnopqrstuvwxyz"; $string = ''; for ($p = 0; $p < $length; $p++) { $string .= $characters[mt_rand(0,...
by amin30b
Thu Feb 17, 2011 8:18 pm
Forum: Modules/Add-Ons
Topic: Could I generate data and send it via FormBuilder?
Replies: 5
Views: 2543

Re: Could I generate data and send it via FormBuilder?

If I write a php random code as user defined code can I use it in Form Builder module and send it as type of submited data field?
by amin30b
Thu Feb 17, 2011 7:17 pm
Forum: Modules/Add-Ons
Topic: Could I generate data and send it via FormBuilder?
Replies: 5
Views: 2543

Could I generate data and send it via FormBuilder?

Hi, Let`s assume that I have this sample form with 3 fields : ------- Name ------- Phone ------- Job ------- Now I need additional hidden field to assign one generated random and unique code like [ABCDEFG123456] or any other code to above form and mail this unique code to user that submits data and ...
by amin30b
Mon Feb 07, 2011 3:49 pm
Forum: Modules/Add-Ons
Topic: Simplepie works on my computer but doesn`t work in website!
Replies: 2
Views: 1264

Re: Simplepie works on my computer but doesn`t work in websi

I used identical module settings both in local computer and website on server. I need to fetch content from this url: http://vision-clc.blogspot.com/feeds/posts/default?alt=rss you can browse my website and seek "item_lever" class to see how it is empty! url : http://www.vision-clc.com/ re...
by amin30b
Mon Feb 07, 2011 8:11 am
Forum: Modules/Add-Ons
Topic: Simplepie works on my computer but doesn`t work in website!
Replies: 2
Views: 1264

Simplepie works on my computer but doesn`t work in website!

Hi,

I`m using CMSSimplepie without any problem on my local computer (localhost) but when I want to use it in my website (outsource server), it doesn`t work!
How could I find its reason and solve it?
by amin30b
Wed Jan 26, 2011 6:22 pm
Forum: Modules/Add-Ons
Topic: pretty urls issue
Replies: 5
Views: 1933

Re: pretty urls issue

I`ve posted my last post after doing [SOLVED] action but anyway hope to somebody guide me about page extension and reply to my last question,
that is very important for me ::)
thanks in advance
by amin30b
Wed Jan 26, 2011 5:27 pm
Forum: Modules/Add-Ons
Topic: pretty urls issue
Replies: 5
Views: 1933

Re: pretty urls issue

excuse me! I tried

Code: Select all

$config['page_extension'] = '';
instead of

Code: Select all

$config['page_extension'] = '.html';
and it works fine.

Will it affect on search engines efficiency?
I like to have no page extension in website pages but does it make conflict with search engines like google? :-\
by amin30b
Wed Jan 26, 2011 5:12 pm
Forum: Modules/Add-Ons
Topic: pretty urls issue
Replies: 5
Views: 1933

Re: pretty urls issue

Wishbone wrote:Does your host support .htaccess files (Apache?) and mod_rewrite?
Yes it supports, I tried .htaccess file instead of htaccess.txt file and the issue solved.
tnx
by amin30b
Wed Jan 26, 2011 4:24 pm
Forum: Modules/Add-Ons
Topic: pretty urls issue
Replies: 5
Views: 1933

pretty urls issue

I`m using 1.9.2 version. I tried to setup pretty urls as described in wiki. I`m using a sub directory with name cmsms192 ; I modified my config.php code to this: $config['url_rewriting'] = 'mod_rewrite'; // this is new from 1.6 $config['page_extension'] = '.html'; $config['use_hierarchy'] = true; //...
by amin30b
Tue Jan 25, 2011 8:20 pm
Forum: Modules/Add-Ons
Topic: missing (modifier.date_format)
Replies: 1
Views: 872

Re: missing (modifier.date_format)

Oh, I found it!
lib\smarty\plugins ;D
by amin30b
Tue Jan 25, 2011 8:11 pm
Forum: Modules/Add-Ons
Topic: missing (modifier.date_format)
Replies: 1
Views: 872

missing (modifier.date_format)

I`m developing a new website with CMSMS 1.9.2 . About 2 years ago when I was working on my first CMSMS website there was an smarty plugin to interact with dates (modifier.date_format.php). According this post I was able to use my custom modifier to display dates in my native format. But now there is...
by amin30b
Mon Jan 24, 2011 9:19 am
Forum: Modules/Add-Ons
Topic: Which module could help me to grab news from other blogs?
Replies: 4
Views: 1607

Re: Which module could help me to grab news from other blogs

I tried RSS module , that works correctly and I can get both label and description completely, but there is a bad problem with content encoding . My blog language is Farsi and is compatible with utf-8 encoding but module doesn`t show blog content correctly and I just see question mark (?) instead of...

Go to advanced search