41
tatane
Re: Bug XoopsFAQ
  • 2013/7/29 12:12

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


and why you suggested xoopsfaq 1.24 for XOOPS 2.5.6 if it does not work?



42
tatane
Re: Bug XoopsFAQ
  • 2013/7/29 11:39

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Quote:

Mamba wrote:
I assume, you have copied the files from 1.24 over the files from 1.10, correct?

Yes

Quote:

Mamba wrote:
If you can, I would suggest to convert to SmartFAQ


There is a migration script?

Quote:

Mamba wrote:
How many questions do you have in your DB?


15 catégories and 98 contents



43
tatane
Bug XoopsFAQ
  • 2013/7/28 16:51

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Hello
I just migrate a 2.0.18 site to 2.5.6
In 2.0.18 we use version 1.10 xoopsfaq but it no longer seems to work on 2.5.6

So I installed version 1.24 but this version does not work


If I created a faq I this message

Quote:
Aucun Tout Erreur(s) (1) Deprécié(s) (0) Requête(s) (25) Bloc(s) (0) Extra (3) Temporisation(5) Erreur(s) Message(s): Undefined property: SystemMenuHandler::$_obj dans le fichier /modules/system/class/menu.php - ligne 130


Config :

Version de XOOPS XOOPS 2.5.6
Version de PHP 5.3.6
Version de MySQL 5.5.9
API serveur apache2handler
OS Darwin
safe_mode Off
register_globals Off
magic_quotes_gpc On
allow_url_fopen On
fsockopen On
allow_call_time_pass_reference On
post_max_size 32M
max_input_time 60
output_buffering
max_execution_time 60
memory_limit 64M
file_uploads On
upload_max_filesize 64M



44
tatane
Re: Modal bootstrap and xooptube
  • 2013/7/23 17:22

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


It's good it was a cache issue.

with
<div id="myModal<{$video.id}>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="myModalLabel"><{$video.title}></h3> </div> <div class="modal-body"> <class="center"> <{$video.showvideo}> </p> </div> <div class="modal-footer left"> <{$video.description|truncate:$video.total_chars}> </div> </div>

<{if 
$video.screen_shot}>
    <
a href="#myModal<{$video.id}>" role="button" class="btn" data-toggle="modal"><{$video.videothumb}> </a>
    <{/if}>


Is good work



45
tatane
Re: Modal bootstrap and xooptube
  • 2013/7/23 17:03

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


I tried

<div id="myModal<{$video.id}>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="myModalLabel"><{$video.title}></h3> </div> <div class="modal-body"> <class="center"> <{$video.showvideo}> </p> </div> <div class="modal-footer left"> <{$video.description|truncate:$video.total_chars}> </div> </div>

<{if 
$video.screen_shot}>
    <
a href="#myModal<{$video.id}>" role="button" class="btn" data-toggle="modal"><{$video.videothumb}> </a>
    <{/if}>


But modal is not work



46
tatane
Modal bootstrap and xooptube
  • 2013/7/23 16:09

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Following this post I would now like my video opens with the modal bootstrap.

So I created this code

<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="myModalLabel"><{$video.title}></h3> </div> <div class="modal-body"> <class="center"> <{$video.showvideo}> </p> </div> <div class="modal-footer left"> <{$video.description|truncate:$video.total_chars}> </div> </div>

<{if 
$video.screen_shot}>
<
a href="#myModal" role="button" class="btn" data-toggle="modal"><{$video.videothumb}> </a>
<{/if}>




The problem is that when I have several video in a category, it shows me the same respect, the same video, the same description in the modal

With an idea?

thank you



47
tatane
Re: Xoopstubes: integrating the embed
  • 2013/7/23 15:57

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


I managed, I replaced

// Show links
if ($count 0) {
    
$moderate 0;
    while (
$video_arr $xoopsDB->fetchArray($result)) {
        if (
xtube_checkgroups($video_arr['cid']) == true) {
            require 
XOOPS_ROOT_PATH '/modules/' $xoopsModule->getVar('dirname') . '/include/videoloadinfo.php';
            
$xoopsTpl->append('video'$video);
            }
        }


by

// Show links
if ($count 0) {
    
$moderate 0;
    while (
$video_arr $xoopsDB->fetchArray($result)) {
        if (
xtube_checkgroups($video_arr['cid']) == true) {
            require 
XOOPS_ROOT_PATH '/modules/' $xoopsModule->getVar('dirname') . '/include/videoloadinfo.php';
            
$video['vidid']        = $video_arr['vidid'];
            
$video['showvideo'] = xtube_showvideo($video_arr['vidid'], $video_arr['vidsource'], $video_arr['screenshot'], $video_arr['picurl']);
            
$xoopsTpl->append('video'$video);
           }
    }


But I have another problem I'll open a new post



48
tatane
Re: Xoopstubes: integrating the embed
  • 2013/7/23 12:22

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Quote:

Mamba wrote:
I am not sure what are you trying to achieve with it? What do you need it for?


I want all simply display the video on the pages viewcat.php?cid=

For this I need the embed code that is on the page singlevideo.php?cid=x&lid=x ( this smarty <{$video.showvideo}>)

Do you understand?



49
tatane
Re: Xoopstubes: integrating the embed
  • 2013/7/23 7:27

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


What I need to add then?



50
tatane
Re: Xoopstubes: integrating the embed
  • 2013/7/22 14:21

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Quote:

Mamba wrote:
As long as it is working for you, you can ignore the "Deprecated" error. This is info only for developers.


No ! Is not work !

Resized Image




TopTop
« 1 2 3 4 (5) 6 7 8 ... 38 »



Login

Who's Online

54 user(s) are online (25 user(s) are browsing Support Forums)


Members: 0


Guests: 54


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits