Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthornado
    • CommentTimeSep 5th 2006
     # 1
    hi

    I need some help with 3 things:

    1) What's the best way/code to add a logo like this site does: http://www.younggogetter.com/forums

    2) I installed the Notify 0.2 extension and receiving this error (I searched the forums, and a solution was posted, but it didn't work)....

    "Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/.katsumi/truce/www.dropbuy.com.au/forums/extensions/Notify/default.php on line 224"

    3) I also installed the Quick Tags extension. But the buttons are being displayed as standard buttons (see http://www.dropbuy.com.au/forums) rather than what is displayed on these forums: http://www.younggogetter.com/forums

    3.1) Also, how do I set the comments to automatically post as html format (so the quicktags extension will actually work)?

    Any help would be greatly appreciated.

    thanks
    nathan
    •  
      CommentAuthornathan
    • CommentTimeSep 6th 2006
     # 2
    It would seem you have the logo there now? Do you still need help with that?

    I'll take a look at the other two questions, but I am not sure how much I can help with those.
    • CommentAuthornado
    • CommentTimeSep 6th 2006
     # 3
    Yep still need help with the logo... currently it's just aligned to the left, but I want to position it down a little more (should I use absolute or relative?)

    I tried absolute positioning, but then that makes the whole header smaller and the logo overlaps the sidebar.

    But then with relative, there's still that gap.
    • CommentAuthorLudwig
    • CommentTimeSep 6th 2006
     # 4
    If you want the logo position down a bit you could just add a top margin

    selector {
    margin-top: 10px;
    }

    Change 'selector' for the selector and '10px' for the value of which it needs to be lowered by.
    • CommentAuthornado
    • CommentTimeSep 6th 2006
     # 5
    OK, I've got it working now except for the:

    1) Notify 0.2 extension problems (I'm using PHP 5 if that makes a diff)

    2) How can I auto-parse urls using the HTML formatter extension?
    • CommentAuthornado
    • CommentTimeSep 8th 2006
     # 6
    bump
    • CommentAuthorithcy
    • CommentTimeSep 8th 2006 edited
     # 7
    for #2, you can try this:
    go into extensions/HtmlFormatter/default.php and look around line 79. somewhere around there it says: return $sReturn;

    just before that line, add this bit of code: $needle = "/((?<!['|\"])(?:http|ftp|https|telnet):\/\/" .
    "[\w\.\;\%\_\/\=\?\-\,\~\!\@\#\$\&\+\'\:\(\)]*)" .
    "(\[)?(?(2)([^\]]+))(?(2)\])/xis";

    $sReturn = preg_replace_callback($needle,
    create_function('$matches',
    'if (!empty($matches[3])) {
    return "<a href=\'$matches[1]\'>$matches[3]</a>";
    } else {
    return "<a href=\'$matches[1]\'>$matches[1]</a>";
    }'),
    $sReturn);


    (i haven't fully tested it, but i'm pretty sure it'll work)
Add your comments
    Username Password
  • Format comments as