Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 2
Seite [1]
microz


Rock the board




Beiträge: 86
# Thema - 24.07.2007 um 05:15 Uhr
hi

is possible to duplicate I module, files, articles, news, etc......

news -->news2

greetings

by google....


Zuletzt editiert von microz am 12.11.2007 um 04:20 Uhr (3x Editiert)
Inaktiv
Mr.AndersoN


Going for pro




Herkunft: Dresden
Beiträge: 529
# Antwort: 1 - 24.07.2007 um 11:41 Uhr
Do you have any know how in PHP and MySQL?

That's little bit complicated.
You have to rename the directory in "mods" from e.g. news in news2 and the language files have to be renamed.
Further more, it's needed to adapt the info.php in the module directory e.g /mods/news2/info.php.
Last but not least, you have to create a new MySQL table with the same structure, as the "parent" table has e.g news2 table must have the same structure as news table.
After all you have to adapt all module files in consideration of the MySQL queries e.g:

 
1.
2.
1. / 2. / ... 
 $join 'news nws INNER JOIN {pre}_categories cat ON nws.categories_id = cat.categories_id';
$cs_news cs_sql_select(__FILE__,$join,$select,$where,$order,$start,$account['users_limit']);

after adaption:

 
1.
2.
1. / 2. / ... 
 $join 'news2 nws INNER JOIN {pre}_categories cat ON nws.categories_id = cat.categories_id';
$cs_news cs_sql_select(__FILE__,$join,$select,$where,$order,$start,$account['users_limit']);


So, what you see: you need some skills in PHP and MySQL to do this stuff.


------------------
ClanSphere - professional clan care starts here






Zuletzt editiert von Mr.AndersoN am 24.07.2007 um 11:42 Uhr (1x Editiert)
Inaktiv
|
microz
Thread-Ersteller


Rock the board




Beiträge: 86
# Antwort: 2 - 24.07.2007 um 21:38 Uhr
ok, not much of php and SQL, but the less to understand what I must do.
I have copy the archives mods/news lang/news and theme/bases/news to folder news2.

In the second line of the adaptation have to be cs_news2 or as you wrote cs_news

thanks to help me.

by google :p


Zuletzt editiert von microz am 24.07.2007 um 21:39 Uhr (1x Editiert)
Inaktiv
|
Antworten: 2
Seite [1]


Sie müssen sich registrieren, um zu antworten.