News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[Manual Mod]user phone in topics

Started by mrtarkhan, March 10, 2011, 08:08:12 AM

Previous topic - Next topic

mrtarkhan

user phone in topics:

at frist download mobile.zip

then extract it into Themes/default/images/mobile folder

so we have [default_theme_url]/images/mobile/example.gif images!

then go to "Admin>> Configuration >> Core Features"

and enable "Advanced Profile Fields".

now: go to "Admin>> Configuration >> Core Features >> Features and Options >> Profile Fields", click on the New Field button and fill the field like below:

Name: My Phone
Show on Topic View: Yes
Choose Placement: With Icon
Help Show Enclosed Within Text (Optional): <img src="{DEFAULT_IMAGES_URL}/mobile/{INPUT}.gif" alt="{INPUT}" />
Field Type: Select Box
Options: Phone Names In Mobile Folder Like This:


And Result is like this picture:

هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))

Arantor

Really this should be moved to the Tips & Tricks board, since it's not a packaged modification.

DoctorMalboro

A list wouldn't be easier for that kind of things? I mean, there are like a zillion models of phones...

mrtarkhan

Quote from: DoctorMalboro on March 10, 2011, 06:29:40 PM
A list wouldn't be easier for that kind of things? I mean, there are like a zillion models of phones...
:(
هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))

DoctorMalboro

It was just a thought, great tip for mobile forums ;)

mrtarkhan

Quote from: DoctorMalboro on March 10, 2011, 08:10:47 PM
It was just a thought, great tip for mobile forums ;)
:D  :D

thanks  ;)

for live demo click on images above  :)
هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))

Advertisement: