Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Goto page: 1 - 2 [+1]

Bottom
.750 and pnphpbbstylesheet
  • Posted: 02.09.2004, 04:37
     
    craigh
    rank:
    Professional Professional
    registered:
     June 2003
    Status:
    offline
    last visit:
    27.08.08
    Posts:
    1147
    According to this post on pnphpbb.com I'm supposed to add

    Code

    <!--[pnphpbbstylesheet]-->
    to my master.htm theme. This worked as expected in RC4, but turns out errors in the release. Any help?
  • Posted: 02.09.2004, 04:41
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    Craig,

    Not sure since I don't persoanlly use PNphpBB... Perhaps a question of pnphpbb.com. In general the plugin file (function.pnphpbbstylesheet.php) will need to be in either themes/<themename>/plugins or in modules/Xanthia/plugins for the plugin to be detected.

    -Mark</themename>
  • Posted: 02.09.2004, 04:44
     
    craigh
    rank:
    Professional Professional
    registered:
     June 2003
    Status:
    offline
    last visit:
    27.08.08
    Posts:
    1147
    nevermind - I forgot to copy the plugin when I overwrote the RC4 files... ::doh!::

    (sorry to keep make you answer dumb question mark!)
  • Posted: 02.09.2004, 04:46
     
    craigh
    rank:
    Professional Professional
    registered:
     June 2003
    Status:
    offline
    last visit:
    27.08.08
    Posts:
    1147

    markwest

    In general the plugin file (function.pnphpbbstylesheet.php) will need to be in either themes/<themename>/plugins...</themename>
    so 'general' xanthia plugins can 'live' in the theme folder?!?!? way cool.
  • Posted: 02.09.2004, 04:48
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720
    Craig,

    Yes... This is one of the key design features of XTE. Themes can provide custom plugins to implement advanced theme functionalty and still be self contained within the theme directory.

    In addition themes can provide additional plugns for modules in templates/<modname>/plugins. This goes with themes being able to override any pnrender based module template in templates/<modname>. This obviously only works for pnRender based modules but is a key design feature of the pnRender architecture.

    -Mark</modname></modname>
  • Posted: 03.09.2004, 17:37
     
    MapBuilders
    rank:
    Freshman Freshman
    registered:
     July 2004
    Status:
    offline
    last visit:
    25.08.05
    Posts:
    36
    Fatal error: Smarty error: [in userdb:pnDefault/master.htm line 27]: syntax error: unrecognized tag 'pnphpbbstylesheet' (Smarty_Compiler.class.php, line 556) in /web/mapbuilders.com/public_html/includes/classes/Smarty/Smarty.class.php on line 1083

    That's what I got when I put that line in...
  • Posted: 03.09.2004, 17:45
     
    craigh
    rank:
    Professional Professional
    registered:
     June 2003
    Status:
    offline
    last visit:
    27.08.08
    Posts:
    1147
    you have to install the plugin. read this carefully. :) (I had to read it like 6 times)
  • Posted: 03.09.2004, 17:45
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    online
    Posts:
    13418
    sure that you have uploaded the plugin correctly?
  • Posted: 03.09.2004, 18:30
     
    MapBuilders
    rank:
    Freshman Freshman
    registered:
     July 2004
    Status:
    offline
    last visit:
    25.08.05
    Posts:
    36
    lol,

    well I've probably read it 20 times. Maybe I'm just retarded.

    ...or my reading comprehension skills are deteriorating.

    I'll give it another shot. :wink:
  • Posted: 03.09.2004, 18:42
     
    MapBuilders
    rank:
    Freshman Freshman
    registered:
     July 2004
    Status:
    offline
    last visit:
    25.08.05
    Posts:
    36
    hmm

    well, got the plugin put in the correct place.

    White screen when I try to access forum.

    *Don't shoot me if this is a dumb question...

    Should I delete the install folder from PNphpBB2?
  • Posted: 03.09.2004, 19:38
     
    craigh
    rank:
    Professional Professional
    registered:
     June 2003
    Status:
    offline
    last visit:
    27.08.08
    Posts:
    1147
    did you rename the PNphpBB2_12 folder to PNphpBB2 ?
  • Posted: 03.09.2004, 19:44
     
    MapBuilders
    rank:
    Freshman Freshman
    registered:
     July 2004
    Status:
    offline
    last visit:
    25.08.05
    Posts:
    36
    yeah,

    I did it before the install though. Was that wrong?
  • Posted: 03.09.2004, 20:44
     
    craigh
    rank:
    Professional Professional
    registered:
     June 2003
    Status:
    offline
    last visit:
    27.08.08
    Posts:
    1147
    no - that's right. I guess, I'm out of ideas. I always trying re-installing when I run out of ideas. After that, you might try further questions at the PNphpBB boards.
  • Posted: 03.09.2004, 21:55
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    online
    Posts:
    13418

    Quote

    did you rename the PNphpBB2_12 folder to PNphpBB2 ?


    In my experience, the actual module is contained in a subfolder of the version numbered folder...
  • Posted: 04.09.2004, 03:40
     
    MapBuilders
    rank:
    Freshman Freshman
    registered:
     July 2004
    Status:
    offline
    last visit:
    25.08.05
    Posts:
    36
    When I extracted the file it was put into a folder created from the archive name with a structure like this:

    PNphpBB2_12.tar/PNphpBB2_12/forum files

    I renamed the PNphpBB2_12 directory to PNphpBB2 then uploaded that directory to the PN modules folder. I CHMODD the cellpics and styles to 777. I added the tag where needed and put the plugin in the proper folder.

    I then went to Admin>Modules and regenerated the list. Initialised PNphpBB2 and went through the installation without any errors (all green checks). I checked my Modules list again and PNphpBB2 showed as active and ready to go.

    I select the Forum link on my Main Menu and get a white screen. No error messages or anything, just a white screen.

Goto page: 1 - 2 [+1]

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula