WordPress.org

Ready to get started?Download WordPress

Forums

Cool Video Gallery
[resolved] Max video title length (8 posts)

  1. Stalin45
    Member
    Posted 1 year ago #

    Hello, could you explain me, where in the php code i could change this?
    Thanks in advance.

    http://wordpress.org/extend/plugins/cool-video-gallery/

  2. Praveen Rajan
    Member
    Plugin Author

    Posted 1 year ago #

    You will have to change MySQL database schema as well to increase video title length.

    admin/gallery-details.php

    search for size="50" and alter accordingly.

    Regards,
    Praveen Rajan

  3. Stalin45
    Member
    Posted 1 year ago #

    It hasn't helped :(
    In the beginning I thought, that i have to change this code:
    video_title varchar( 20 ) NULL
    But nothing happened.
    Only 20 letters in a title of a video, not more.
    Could you help?

  4. Praveen Rajan
    Member
    Plugin Author

    Posted 1 year ago #

    @ Stalin45

    Please change the database schema as mentioned earlier to change varchar(20) to mediumtext.

    Or if you change the above, uninstall the plugin and activate it once again through CVG admin panel.

    Together with this, you will have to modify the above mentioned file also.

    Regards,
    Praveen Rajan

  5. Stalin45
    Member
    Posted 1 year ago #

    Thank you very much!
    My apologies, i didn't know anything about MySQL until this moment!
    All are working!

    Best regards.

  6. Praveen Rajan
    Member
    Plugin Author

    Posted 1 year ago #

    @Stalin45

    Good to know :)

    Please provide ur valuable ratings and reviews on CVG.

    Regards,
    Praveen Rajan

  7. amenmo13
    Member
    Posted 1 year ago #

    Could you go through more detail about changing MySQL? Where can I find this file, and where is the part of the code that must be changed? I have no coding background, so please explain thoroughly.

    Thank you, I would really like this plugin to work for me!

  8. Praveen Rajan
    Member
    Plugin Author

    Posted 1 year ago #

    @ amenmo13

    In order to change database schema after you install the plugin, you will required phpmyadmin tool in your server to look into the database and then will have to alter the database table structure.

    Other modifications that need to be done are on plugin files as mentioned earlier.

    cool-video-gallery/admin/gallery-details.php

    In addition to this, in file cool-video-gallery/cool-video-gallery.php find

    video_title varchar( 20 ) NULL and change it to video_title mediumtext NULL similar to other table columns.

    Regards,
    Praveen Rajan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.