1
sarahmx
Transfer post Option in CBB
  • 2008/1/17 12:22

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


how do i remove the "add the link to bookmarks" option ?


which file do i have to edit

i'm using 3.08

thank you

2
Anonymous
Re: Transfer post Option in CBB
  • 2008/1/17 12:49

  • Anonymous

  • Posts: 0

  • Since:


Hi,

I don't have access to the module's files here at work but having looked at it it's probably an html template that needs editing.

Take a look at the file "action.transfer.php" and see which template files it calls by searching for "html" within the file. There might only be one or two.

It looks like a simple matter of editing out the link, overwriting the old template file on your server and doing a "check for new templates" in Admin>preferences.

If no-one else gets back to you with more specific advice I'll check it out when I get home this evening.

HTH

Edit:
The line you need to remove from the template is:

<li><a href="###" onclick="document.forms.opform.op.value='bookmark'; document.forms.opform.submit();">Add the link to bookmarksa>li>

3
sarahmx
Re: Transfer post Option in CBB
  • 2008/1/17 16:15

  • sarahmx

  • Quite a regular

  • Posts: 381

  • Since: 2007/10/28


Thank you JAVesey

i can't find a template that refers to the option..
all that i found is the link to the transfer option in newbb_thread.html

in action.transfer.php..there is this code but i think this refers to all options if i'm not mistaken
foreach($op_options as $value=>$title){
        echo 
"
  • ###" onclick="document.forms.opform.op.value='".$value."'; document.forms.opform.submit();">".$title."
  • n";
        
    }

    4
    Anonymous
    Re: Transfer post Option in CBB
    • 2008/1/17 18:12

    • Anonymous

    • Posts: 0

    • Since:


    Quote:
    sarahmx wrote:

    i can't find a template that refers to the option..
    all that i found is the link to the transfer option in newbb_thread.html


    Dang!! Neither can I

    It's more complicated that with some other modules. I think the answer might be connected with Frameworks..... I'll have a look but it might take a little while to unravel

    Maybe quicker to ask DJ/phppp directly

    5
    irmtfan
    Re: Transfer post Option in CBB
    • 2008/1/17 19:03

    • irmtfan

    • Module Developer

    • Posts: 3419

    • Since: 2003/12/7


    open:
    Frameworks/transfer/plugin/bookmark/config.php
    change this line:
    "level"        => 0,    /* 0 - hidden (For direct call only); >0 - display (available for selection) */

    i dont test it but it should work.

    it all explain in Frameworks/readme.txt
    the latest Framework version is 1.22

    6
    mboyden
    Re: Transfer post Option in CBB
    • 2008/1/17 20:25

    • mboyden

    • Moderator

    • Posts: 484

    • Since: 2005/3/9 1


    This is a part of the XOOPS notifications system, not CBB. In the system blocks templates, there are two files, which you will need to edit via XOOPS templates (or GIJoe's AltSys) or in 2.0.14 or later, via the themes modules override folders.

    The in-line version uses:
    system_notification_list.html or
    system_notification_select.html
    depending upon the setting in preferences.

    The block version uses:
    system_block_notification.html

    If your theme is done right, you could likely do this via CSS display:none; attribute on the one. If you want it removed from ALL modules, then just remove it from these active templates.
    Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

    XOOPS: Latest | Debug | Hosting and Web Development

    7
    sarahmx
    Re: Transfer post Option in CBB
    • 2008/1/18 2:26

    • sarahmx

    • Quite a regular

    • Posts: 381

    • Since: 2007/10/28


    thanks

    irmtfan: not working

    mboyden:
    i think you misunderstood me, i'm talking about the transfer option below every user post (same line with the reply, edit etc button)

    8
    irmtfan
    Re: Transfer post Option in CBB
    • 2008/1/18 3:34

    • irmtfan

    • Module Developer

    • Posts: 3419

    • Since: 2003/12/7


    its strange,
    maybe its a bug or phppp can tell the answer

    9
    iHackCode
    Re: Transfer post Option in CBB

    For CBB 3.08 it has to be edited from

    modules/newbb/class/transfer/bookmark/config.php

    refer to post #5 on what to edit.
    CBB / LatestNews / Publisher / XM-Spotlight

    (ノ◕ヮ◕)ノ*:・゚✧

    10
    irmtfan
    Re: Transfer post Option in CBB
    • 2008/1/18 6:31

    • irmtfan

    • Module Developer

    • Posts: 3419

    • Since: 2003/12/7


    oh sorry,
    thank you Bandit-X.

    in my local i always have latest version so i didnt recognize the differences between 4 and 3.0.8

    so do the following according to your version:
    - post No.5 for 4.00
    - post No.9 for 3.0.8

    Login

    Who's Online

    399 user(s) are online (91 user(s) are browsing Support Forums)


    Members: 0


    Guests: 399


    more...

    Donat-O-Meter

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

    Latest GitHub Commits