MyBB Hacks

Full Version: YouTube Video Gallery
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
okay.. so i got it back up, but im still getting the default layout....smh
whats ur xthread options?
(06-13-2012 08:03 AM)wethegreenpeople Wrote: [ -> ]I can post all of them here if Rateu doesn't mind, so any one in the future can do it as-well.
I'm glad if some users, designers or coders want to modify the layout or how the example application works.
Thanks, wethegreenpeople Smile
(06-14-2012 02:42 PM)alexsubri Wrote: [ -> ]okay.. so i got it back up, but im still getting the default layout....smh
whats ur xthread options?

Code:
Title: 
YouTube Video ID / URL

Key: 
ytvgalid

Input Field Type: 
Textbox

Maximum Text Length: 123
Field Input Width: 50

Editable by / Required Field?:
Everyone

Display Parsing:
Plain text

Allow Filtering:
No

Display Format:
{VALUE$1}{VALUE$2}

Underlying Data Type:
Text

Allow multiple values for this field:
No

Text Mask Filter:
Custom
^(?:([a-zA-Z0-9_\-+]{8,16})$|http\://(?:[a-z]{1,4}\.)?youtube\.com/watch\?v=([a-zA-Z0-9_\-+]{8,16}))


Code:
Title:
Video Catagory

Key:
ytvgalcat

Input Field Type:
Listbox

Field Input Width:
40

Field Input Height:
1

Value List:
Skateboard
Freelines
Longboards
Freebords


Editable by / Required Field?:
Everyone

Allow Filtering:
Yes


Display Format:
{VALUE}

Underlying Data Type:
Text

my thread fields are correct. What is your xthreads options templet for forum fields?

I am still getting default layout, even though my ytgal_'s are all customized...?
I still don't understand why I can't get this Ouch..everything I edit still remains the same.
And I still don't understand why you can't get it either, TBH.
- I've created templates ytvgalid and ytvgalcategory

-I've created all of the templates for Global Templates and customized them myself

-I've edit all of the Xthread forum functions as well.


Look-- its still the same after various amounts of editing:

http://montagesnmore.com/forum/forumdisplay.php?fid=17

Maybe if I create a temp mod you can fix it/look at it for me?
That's so weird....

If Zinga can't take a look at it alex you can PM me an account and I'll check it out.
(06-16-2012 12:07 AM)wethegreenpeople Wrote: [ -> ]That's so weird....

If Zinga can't take a look at it alex you can PM me an account and I'll check it out.

PM sent thanks!Yipi
Fixed it Alex. It wasn't that hard actually.

I don't know what the hell is going on... I'm just going to go ahead and assume it wasn't/isn't working because you changed the name of your theme? I don't have any clue.... the global xThreads templates worked just fine in the default MyBB theme, but weren't updating in the theme you have installed... I took a look at the theme (test) and for some reason all of the xThreads templates are duplicated on the themes templates. It didn't do this for mine...

But anyways, I fixed it. Your gallery looks like mine now. Any changes you want to do to the gallery, change the categories and what not, you have to do from

ACP >> Themes and Templates >> Templates >> Your theme (test) >> Ungrouped Templates >> The ytvgal_ templates

BUT! I would suggest, that after you're finished making all your changes in the theme's templates, you go and change all the global templates to match so if you ever install a theme in the future you won't have to do it all over again.

Maybe Zinga can shed some light on why this happened.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Reference URL's