ติดต่อลงโฆษณา [email protected]

แสดงกระทู้

ส่วนนี้จะช่วยให้คุณสามารถดูกระทู้ทั้งหมดสมาชิกนี้ โปรดทราบว่าคุณสามารถเห็นเฉพาะกระทู้ในพื้นที่ที่คุณเข้าถึงในขณะนี้


ข้อความ - smffan

หน้า: [1]
1
i just install SMF1.1.2 & i need to play MP3 or WMA in my SMF so i find the code here & i found the code

อ้างถึง
เปิดไฟล์ Sources/Subs.php ค่ะ
แล้วหาโค้ดส่วนนี้ออกมา


โค๊ด:
         array(
            'tag' => 'flash',
            'type' => 'unparsed_commas_content',
            'test' => '\d+,\d+\]',
แล้วเพิ่มโค้ดด้านล่างนี้ไว้ก่อนหน้าโค้ดที่หาออกมาค่ะ


โค๊ด:
         // ----------*** เพิ่มโค้ด [wma]songs.wma[/wma] ***----------
         array(
            'tag' => 'wma',
            'type' => 'unparsed_commas_content',
            'test' => '\d+,\d+\]',
            'content' => ($context['browser']['is_ie'] && !$context['browser']['is_mac_ie'] ? '<object type="audio/x-ms-wma" width="$2" height="$3"><param name="filename" value="$1" /><param name="Autostart" value="1" /><param name="ShowControls" value="1" /><param name="ShowPositionControls" value="0" /><param name="ShowStatusBar" value="1" /><param name="ShowDisplay" value="0" /><param name="ShowTracker" value="1" /><param name="ShowAudioControls" value="1" /><param name="pluginspage" value="http://www.microsoft.com/windowsmedia/" /></object>' : '<embed type="audio/x-ms-wma" src="$1" width="$2" height="$3" play="true" loop="true" quality="high" AllowScriptAccess="never" /><noembed><a href="$1" target="_blank">$1[/url]</noembed>'),
         ),

sorce : http://smf.rcweb.net/index.php?topic=251.0

but what is up when i  add the code into Sources/Subs.php  & upload it in to my SMF i got the error
โค้ด: [เลือก]
Parse error: parse error, unexpected T_STRING, expecting ')' in myshite.com/smf/Sources/Subs.php on line 3447
so that code can not work in SMF1.1.2 ?

or how can i find another MP3 or WMA code ?

thanks ( sorry my com can not write Thai , but you can reply me as THAI )

2
Install and Upgrade Help / can not get Admin acount ...help me please.
« เมื่อ: 2/11/06, 08:04:49 »

i just install SMF 1.1 RC2 & it is no problem in step 1
but i got the problem at step 2 , i can not get my acount ( admin acount )
i got an error page as photo



& i try alot of Username & password i still got the same problem.

& when i go to my webboard www.mysite.com/webboard/index.php
there is no member..as photo

 

so , what wrong with my SMF , & what should i do ? any body help me please.
thank you !

3
Scripting Help / how can i add Language chooser on my smf ?
« เมื่อ: 11/10/06, 01:09:41 »


as you can see on photo ...
i want to add Language chooser on my smf , how can i do that ?
edit it on index.template.php ?
or where can i do that ? cause i`m not good at PHP

help!

thanks
EX: site: www.smf.cn

4
Thanks very very much  :D ;)

6


as you can see at the picture ~
1 . i wanna add some menu on the top & bottom menu how can i do that ? & where can i edit it ? (pic 1)
2.  how can i get the code that i can show the recent post at another page for example in my website index ( not webboard index ) (Pic 2)

Help me plaese .
( sorry my computer have no thai font , so i can not write it in Thai language )
but you can answer me in thai language
thanks .



หน้า: [1]