Coppermine forum plugin (cpgforum) for cpg1.5.x - Page 5 Coppermine forum plugin (cpgforum) for cpg1.5.x - Page 5
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Coppermine forum plugin (cpgforum) for cpg1.5.x

Started by Αndré, May 08, 2010, 09:51:47 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TheOneAndOnly

Oops... that setting was 512 characters.
Now it works as it should.

Sorry for my stupid misstake.  :-[

dentsidepics

URL - http://www.dentsidepics.com
Test user/pass - Labrat/labrat
cpg 1.5.12
cpg forum plugin 2.0 beta6
No adult content...just pictures of trucks.  :-)

When we embed youtube videos, they show correctly in "preview", but not when we actually make the post.  (It simply shows the code.)  Is it possible to embed youtube vids into cpg forums?

Αndré

How do you embed YouTube videos? It doesn't work with HTML code, but just with the help of the 'BBCode Control' plugin.

dentsidepics

I've now installed the BBCode Control plugin (thanks!), but it's still not working.

I've enabled YouTube Video in the config (Yes: Everyone).  I've tried using the "Link to this video" link from YouTube, the iframe link, the object link, etc.  If I use the "Link to this video", it just shows the link within the [youtube] code both in preview and live post.  If I use the iframe or object links, it shows the video inside [youtube] code in preview, but shows the entire code in live rather than a video.

You can see what I mean here. (second post down)

Thanks a ton for your help.  The forum is visible to guests, but this login information above is still active:

Test user/pass - Labrat/labrat
cpg 1.5.12
cpg forum plugin 2.0 beta6
bbcode control v1.8
Again, no adult content...just pictures of trucks.

Αndré

Quote

Those short urls aren't supported (at least not yet, as I didn't know that they exist at all ;)). Instead, use the url from the address bar:
Quotehttp://www.youtube.com/watch?v=HBokQ4vJAJc

dentsidepics

Wow...the only thing I didn't try.  haha

Thanks a ton, Andre.  That did it.  You've been a great help.

Αndré

Quote from: Αndré on May 15, 2011, 07:06:36 PM
Those short urls aren't supported (at least not yet, as I didn't know that they exist at all ;))
FYI: it's now possible to use the short http://youtu.be urls with the BBCode Control plugin.

kaval

Under the simple forum administrative menu settings options:

It would be nice to have the option under Basic Features of:
Disable visitor statistics.
Disable viewing members.

Is there a simple way for me to manually do this in the interval?

Otherwise I really like the plug-in! Keep up the good work.

Αndré

New version (Beta/7) attached to initial post.



Quote from: kaval on July 01, 2011, 05:03:46 PM
It would be nice to have the option under Basic Features of:
Disable visitor statistics.
Disable viewing members.
I missed that post, that's why that options aren't in the current release, sorry.

kaval

No problem.  If you get around to it on the next update that would be appreciated.  It is a nice addition to Coppermine.

mahdi1234

Great plugin Αndré.

Would you have any roadmap on "track user activities" item, is it work-in-progress or more longer term enhancement?

cheers

Αndré

There's no roadmap, sorry. I'm not sure if I'll implement it ever (lack of time).

altenae

I have already tried to install this plugin.

However I always get this error ;

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in Y:\xampp\htdocs\Aviationpix.nl\Root\plugins\forum\codebase.php on line 124


Any ideas ?

Thanks,

Edward


altenae

Yep installed now.

When installing it says all created tables are OK.
However when going to the forum it says:

Table 'aviationpix.gallery_fr_messages' doesn't exist

Indeed the table is nog present.

Maybe I do something wrong.

Thanks,

Edward

Αndré

Afaik you have to click "OK" on the screen where it says that all tables have been created successfully.

altenae

It is telling me that it is already done..
However the table is not present in de database.

Here the screenshot.

Thanks,

Edward

Αndré

Try to uninstall and re-install the plugin again. But I guess that there's something wrong with your permission settings (i.e. you don't have the permission to create new tables).

mahdi1234

Here's modification to add previous/next page "button" in the topic view (see attached image).

go forum_helper.php and replace function function paging($paging = array()) with below

    function paging($paging = array()) {
        $html = "";
if ($paging['total'] != 0) {
  $number_of_page = ceil($paging['total'] / $paging['limit']); //total
  $current_page   = ceil($paging['start'] / $paging['limit']) + 1; //current

  if ($current_page > 1) {
    $previous = ($current_page * $paging['limit']) - ($paging['limit'] * 2);
    $html .= "<a href=\"{$paging['pattern']}&start={$previous}\"><<</a>&nbsp;";
}

  if ($current_page == 0) $current_page = 1;
            for ($i=1;$i<=$number_of_page;$i++) {
                $current_start = ($i-1)*$paging['limit'];
                if ($current_page == $i) {
                    $html .= "[<b>{$i}</b>]" . '&nbsp;&nbsp;';
                } else {
                    $html .= "<a href=\"{$paging['pattern']}&start={$current_start}\">{$i}</a>" . NBSP . NBSP;
                }
            }

  if ($current_page < $number_of_page) {
    $next = $current_page * $paging['limit'];
    $html .= "<a href=\"{$paging['pattern']}&start={$next}\">>></a>";
  }

            return $html;
  } else return TRUE;
    }


cheers ...

Αndré

Thank your for your contribution. New version attached to initial post (it also includes a fix for the installation issue).