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

Code:
?filtertf_ytvgalcat[]=Tag1&filtertf_ytvgalcat[]=Tag2

when filtering, is it possible to keep the filter on when navigating to a second page? say you filter by "funny" videos, and there are 4 pages: whenever you click to go to the next page, the filter disappears and it will show all videos.
It doesn't do this by default for you?
If you've got some crazy template system, you could try adding {$GLOBALS['page_url_xt']} after ($page_url} in the multipage templates.

Do you have Google SEO installed?
(01-29-2013 03:41 PM)ZiNgA BuRgA Wrote: [ -> ]It doesn't do this by default for you?
If you've got some crazy template system, you could try adding {$GLOBALS['page_url_xt']} after ($page_url} in the multipage templates.

Do you have Google SEO installed?

ah yes, I have Google seo.
Hmm, do you have the lazy URL replacement setting active?
Does it work with/without it on?  Does it work with Google SEO disabled?
I have it on full mode (default), but switched to lazy to try that. It had no effect.

I disabled google SEO and it works properly that way.

EDIT: however, I would like to stick with using google SEO. hopefully there is a solution to this while using google SEO URL structures.
I just did a bunch of testing and it seems to work fine with Google SEO, in both full and lazy mode.
So I can't say why it isn't working for you.  Perhaps try setting up a clean board and see if you can replicate it.
i apologize for the trouble, it seems i found out the problem. i had the default Mybb setting of "Enable search engine friendly URLs?" set to DISABLED rather than enabled. I thought that having Google SEO, this would not be an option I would need enabled. turning it on, it correctly lets the pagination keep the filters on. with it off, it was simply not using the filter (it used the ?forumdisplay=fid datecut blabla link instead).

Thank you for the continued assistance!

EDIT: if this is what you meant by lazy url setting, then i confused it with Google SEO's settings
The filters are amazing, I forgot to use the [] brackets, that's why it didn't work, huh.
I've got another question - is it possible to add: the ability to change the categories for moderators in showthread template? So it looks like this:
[Image: sgxOzND.png]

PHP Code:
<select name="xthreads_ytvgalcat">
	<option value="Category1">Category 1</option>
	<option value="Category2">Category 2</option>
	<option value="Category3">Category 3</option>
</select>

@Edit: I think I can write the values myself, but not sure how to submit the changes?

Replicate the form on editpost.php.
You don't need to send everything (eg post content, title).
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