Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Widget Won't Work Wight


  • Please log in to reply
14 replies to this topic

#1 Kermit Woodall

Kermit Woodall

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 23 November 2010 - 09:22 AM

I spotted a bug in the widget. I'm trying to use it to show the top five most viewed videos. When I navigate the main display to another page the widget now shows a different list of videos than it did before. Also, every time I save the shortcodes _I_ put in the widget then leave and come back to the widget it resets the shortcode to: [tubepress resultsPerPage="5" paginationBelow="false" paginationAbove="false" ] -- which is possibly the problem.

Here's the site:

http://advocate.kerm...odall.com/test/

Can anyone else confirm this? Can Eric correct this? Tune in tomorrow for the exciting conclusion!

Kermit

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 23 November 2010 - 07:20 PM

Which version of WordPress are you using? I have two different revisions of 3.1-alpha. It works normally in one but not the other. It works in revision 15611. It doesn't in revision 16518.

#3 Kermit Woodall

Kermit Woodall

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 24 November 2010 - 11:31 AM

I'm just using 3.0.1 -- the last update that WordPress auto-installed.

Kermit

#4 Reed Holmes

Reed Holmes

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 29 November 2010 - 03:59 PM

Hi there,

I seem to be having a problem with the widget not updating as well.

When I try to change the title in the widget, it reverts back to what it was before.

I just upgraded to tubepress_pro_2_1_1 today.

Reed

#5 Reed Holmes

Reed Holmes

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 29 November 2010 - 04:01 PM

Whoops, I am not using tubepress_pro_2_1_1 on the site in question (http://www.scotiasurfer.com).

I am actually using the free version.

Reed

#6 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 29 November 2010 - 11:31 PM

I seem to be having a problem with the widget not updating as well.


Which browser and OS are you using? I'm having some trouble reproducing the issue consistently. Thanks!

#7 Reed Holmes

Reed Holmes

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 30 November 2010 - 12:23 PM

Hi Eric,

I have the same problem on Firefox, Chrome, and IE.

I also have the pro version on another site and same thing: whenever I make a change in the widget, it reverts back.

Reed

#8 < no first name > Albee

< no first name > Albee

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 01 December 2010 - 03:30 AM

Same here ... keeps reverting ... cleared all the cache files ... reinstalled PRO Version ... no luck. :(

#9 Reed Holmes

Reed Holmes

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 02 December 2010 - 08:03 AM

Any chance of getting this fixed?

Or do I have to revert back to the previous version (would be disappointing considering I paid for the pro version).

Reed

#10 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 02 December 2010 - 01:00 PM

I'm planning on fixing this in the next day or so. There's about two other fairly high priority bugs that I've already fixed, so after I tackle this widget issue I'll release 2.1.2 officially. Stay tuned to this thread for updates.

In the meantime, if you want to edit the widget shortcode, you can do so via phpmyadmin or anything that will give you access to your wp_options table. You'll want to look for the option with the name "tubepress-widget-tagstring". Just set the value of that option to whatever you want your shortcode to be.

#11 Kermit Woodall

Kermit Woodall

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 02 December 2010 - 10:18 PM

Just to add another two cents in here ... it's also unclear what you're supposed to name the theme files. If I'm using a theme called sports should the filename be sports, sports.php or sports.tpl.php? Your documentation fails to mention this - although helpful in a number of other areas.

Oddly enough I also tried simply editing gallery.tpl.php in the sidebar directory and it didn't show up in the widget anyway. So where is the widget getting it's code from? It used to come from here before 2.1.1 didn't it?

Kermit

#12 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 03 December 2010 - 10:27 PM

Bug found and fixed! Replace your copy of tubepress/classes/org/tubepress/env/wordpress/Widget.class.php with the one found here: https://gist.github.com/727883

I'll push out an official release tomorrow.

#13 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 04 December 2010 - 08:17 PM

it's also unclear what you're supposed to name the theme files. If I'm using a theme called sports should the filename be sports, sports.php or sports.tpl.php? Your documentation fails to mention this


Thanks for the feedback. I'll update that section to try to clarify it.

The filenames should never change from theme to theme. So in the sports example, to customize the gallery output you should have a file at tubepress/content/themes/sports/gallery.tpl.php. Make sense?

#14 Kermit Woodall

Kermit Woodall

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 05 December 2010 - 10:55 AM

The filenames should never change from theme to theme. So in the sports example, to customize the gallery output you should have a file at tubepress/content/themes/sports/gallery.tpl.php. Make sense?



That makes perfect sense now! Thanks.

Kermit

#15 Kermit Woodall

Kermit Woodall

    Advanced Member

  • Members
  • PipPipPip
  • 47 posts

Posted 05 December 2010 - 11:57 AM

...and it's working great. Thanks!

Kermit