MyBB Hacks

Full Version: Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys, thanks again for this awesome plugin.

I have a question.

When using mybb go mobile theme or mobile version, is it possible not use the custom template and just use the default i.e mobile theme template?

i havea  a custom  first_postbit_classic and postbit_showthread and when using mobile, it pulls those and its really hard to see because i have set my custom showthread into 2 column.

Thank you
Add mobile variants of the first_postbit_classic and postbit_showthread templates to your mobile theme. It will then use those. You do this by selecting to add a template to your template group.
ty very much for replying leefish ..

its working...  

love you!
something went wrong, the styling is working but the custom xthread fields on my main forum when you create a new thread doesnt appear anymore, while on the mybb go mobile theme, the custom fields they do appear.

i already tried deactivating then activating i even tried duplicating thread...  deactivated mybb gomobile and xthread, then enable xthread first but still no luck .
Check the templates on the main theme contain the XThreads variables.
thank you leefish found it : )  {$extra_threadfields}  




can i ask another question.. this is for the newthread, isthere any way i can cuztomize the size of the thread fields, because when its on mobile mode this is the only one left unchanged, it doesnt adapt , it still shows the desktop version.


thanks <3
The size of the fields is currently set in the custom thread fields settings in the ACP.

I am not currently sure of a way round it, sorry. Just make it big enough to look decent on mobile and adjust your desktop (main theme) templates.
Thank you LeeFish,

I have another question i hope you dont mind again helping me.

Ok so i have two theme, one for mobile and one for desktop.


I removed this string in my mobile template {$extra_threadfields}  ,  new post and edit post.  It's totally fine for me w.o the xthread fields when they're using mobile, also note that those fields are set to everyone and NOT required.


Problem is this, i accidentaly remove the {$extra_threadfields} option in my DESKTOP template. When i edit my first post in my desktop template and hit update. All the custom fields that we're previously entered disappeared! @_@  

I tried to replicate the same thing using the mobile template without {$extra_threadfields} in the edit post template, it didnt happen in mobile, the xthread fields that were previously populated were still intact after updating.


What could be the problem, i have restored {$extra_threadfields} in my EDIT POST tempalte now and it's working fine again.


I choose not to put it in my mobile theme this string in edit post  {$extra_threadfields}  because the layout is messed up when you edit the post.  In mobile if you edit the post even w.o {$extra_threadfields}  its fine .


Thanks
I am a bit confused by your post. In the Xthreads download there is something called undoc. Its the documentation for XThreads.

http://mybbhacks.zingaburga.com/attachment.php?aid=725
Got it leefish..   thanks again and <3
Reference URL's