block questions

Post Reply

Topic author
MarkDome
Active Member
Posts: 2
Joined: 7. November 2008 00:06

block questions

Post by MarkDome »

i've posted this earlier on phpbb.nl and phpbb.com but they could't help me.
The gave the advise to go through this supportboard. It's about the blocks in board3 offcourse
In the ACP I can't find a thing to edit/delete the blocks
At the installing i change this 2 files:
http://forum.potterdome.com/install.xml
http://forum.potterdome.com/xml/subsilver2.xml

  • Modificatie & Versie: board3 version 1.0.2
    Directe link to modificatie: http://www.board3.de
    Adres forum: http://forum.potterdome.com
    phpBB version:3.0.2
    Have you reently istalled modificatie or styl?
    board3 and template blackgreen_box

    What is the problem?


    How can i edit blocks
    Like: welkom to my community in the block welcome
    And i dont mean this:

    Code: Select all

    'WELCOME'            => 'Welcome',
    Wat did i all ready?
    i've searhed through:
    portal.php
    portal/block/welkome.php
    languages/nl/mod/lang_portal.php
    styles/blackbox_green/template/portal/portal_body.html



    How can i delete blocks from the portal
    Like: block clock/random_member
    Wat did i all ready?
    portal/block/random_member deleted
    portal.php

    Code: Select all

    if ($portal_config['portal_random_member'])
    {
    	include($phpbb_root_path . 'portal/block/random_member.'.$phpEx);
    }
    
    changed in

    Code: Select all

    /*if ($portal_config['portal_random_member'])
    {
    	include($phpbb_root_path . 'portal/block/random_member.'.$phpEx);
    }*/
    
    But it still stay on my portal



    How can i add new blocks
    I want static pages, those must come in the middle of the page.

    Code: Select all

    $link = explode($url)
    if(link == page1){ TExT }
    if(link == page2){ TExT }

    Its realy much haha so I hope someone will answer me :)
    thanks so far
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: block questions

Post by Kevin »

MarkDome wrote:How can i edit blocks
Like: welkom to my community in the block welcome
And i dont mean this:

Code: Select all

    'WELCOME'            => 'Welcome',
Erm, you can edit the text of the welcome message in the ACP!?
Maybe i don't get what you mean?
MarkDome wrote:How can i delete blocks from the portal
Like: block clock/random_member
Disable the block in the ACP.

Or just remove the template calls in the portal_body.html
e.g the random block - remove:

Code: Select all

        <!-- IF S_DISPLAY_RANDOM_MEMBER -->
            <!-- INCLUDE portal/block/random_member.html -->
        <!-- ENDIF --> 
Purge the board cache afterwards.
MarkDome wrote: How can i add new blocks
I want static pages, those must come in the middle of the page.
viewtopic.php?f=21&t=310
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
MarkDome
Active Member
Posts: 2
Joined: 7. November 2008 00:06

Re: block questions

Post by MarkDome »

In the ACP I can't find a thing to edit/delete the blocks
At the installing i change this 2 files:
http://forum.potterdome.com/install.xml
http://forum.potterdome.com/xml/subsilver2.xml

So you can read here that I installed it good I think, but can't find mod in the acp
but must add only this line
$user->add_lang('mods/lang_portal_acp_logs');
and thats not really much
so did I something wrong by the install?

and kevin thanks for the answers :)
User avatar

Huor
Valued Contributor
Posts: 95
Joined: 9. October 2008 00:46
Contact:

Re: block questions

Post by Huor »

Hi MarkDome,

once you have uploaded the portal files (in the style folder) to your server they will be cached (if default settings are used). Then you have to edit the files though your ACP -> Styles -> Templates...

I had the same problem at the start - i tried to change something in the files, even purged the cache, but nothing changed until i edit them though the ACP.
If you don't see the MODs tab in your ACP you have not activated it?! Its in the ACP -> System -> Administration Control Panel (enable the module it should be there already).

If you don't want any thing displayed in the portal delete the entries from the portal_body.html - like you did - but only through the ACP.
Or finally after you changed the file on your server you can refresh the style even through the ACP - but keep in mind that eventually other changes made through the ACP will get lost if you haven't saved them either in the files yet.
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: block questions

Post by Kevin »

For each box there is an option in the ACP (.MODs --> Portal) to disable it. Why don't you use it? Just a few clicks and it's done.
It sounds to me like you don't have executed the installer for the portal. Otherwise you should see the ACP options for the portal.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!
User avatar

Huor
Valued Contributor
Posts: 95
Joined: 9. October 2008 00:46
Contact:

Re: block questions

Post by Huor »

Kevin wrote:For each box there is an option in the ACP (.MODs --> Portal) to disable it. Why don't you use it? Just a few clicks and it's done.
It sounds to me like you don't have executed the installer for the portal. Otherwise you should see the ACP options for the portal.
yeah he could do so,

but he mentioned he doesnt see the mod tab in the ACP ;) Thatswhy i mentioned to edit the portal_body.html through the ACP ;)
Nevertheless both methods will work^^
Post Reply

Return to “Modifications Support”