pastorbobsforum (@pastorbobsforum)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 26 total)

  • pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    Thank you for the suggestion, I wish I could but I cannot afford one now, or in the near future for that matter. The reasons are too complicated to explain here.

    Anyway, I’m using this plugin with my wordpress site, and since I really like it, I would like to fit it into my website. I hope that I’m not too old for this, since I’ve never done anything like it before.

    So, if there’s anyone out there with some suggestions (or some reading material) I would appreciate it.


    pastorbobsforum
    Member

    @pastorbobsforum

    I am closing this topic, only to reopen it when I have a better understanding about what I want to achieve.

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello again.

    It worked like a glove. Thank you chrishajer. And thank you Kevin as well.

    For posterity’s sake now, this is what one should modify in their style.css in order to achieve a vertical scrollbar for their tag list:

    #topic-tags {
    border-left: 1px solid #ccc;
    float: right;
    padding: 0 0 0 1em;
    overflow:auto;
    height: 240px;}

    I sometimes wonder where should one start if one wanted to build a solid foundation in PHP? For I only use (basic) logics and ask for help when I’m stuck.

    Nevertheless, thank you all once again.

    Regards,

    Pastor Bob


    pastorbobsforum
    Member

    @pastorbobsforum


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    This is what I’ve done with my topic.php:

    <div style="overflow:auto"><?php topic_tags(); ?></div>

    No result. Also, shouldn’t I set a width and a length somewhere?

    I’ve also tried:

    #topic-tags {
    border-left: 1px solid #ccc;
    float: right;
    padding: 0 0 0 1em;
    overflow:auto;}

    No result.

    Suggestions?

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    Is this plugin (Kevin’s) officially released?

    Because the php file seems…unfinished.

    Thank you.

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    I apologise for reopening this topic, but I have a question.

    Is it possible to show a message to the users, after they have made their first post, letting them know that their post is being moderated?

    If yes, how?

    This is the plugin that I am using.

    Is it based on the following principle? add_action('action_name','function_to_fire',priority);

    I might be terribly wrong, so please bear with me.

    Which in my case would mean that after this function mod_notification_new_post fires, my own function (say, notification_to_user) would go. So I should add_action('bb_notify_user', 'notification_to_user',9);

    Then after these 3 actions:

    add_action('bb_new_post', 'mod_notification_new_post',1);
    add_action('extra_profile_info', 'mod_notification_profile');
    add_action('profile_edited', 'mod_notification_profile_edit');

    I should add the other one.

    Say this would work, how can I have the user see the message in the (empty) box of the post that he has just made?

    I hope that I haven’t insulted anyone’s intelligence with my question(s).

    Thank you.

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello again.

    Good news. I realised (by reading properly) that I only had to change one thing in this line.

    if (!defined('POST_NUMBER_MODERATION')) define('POST_NUMBER_MODERATION', 5);

    From define('POST_NUMBER_MODERATION', 5) to define('POST_NUMBER_MODERATION', 1).

    And now it does exactly what I want. Let me resume it all.

    An user signs up for the first time on my forum. These two plugins take action: Yu-Jie Lin’s Enhanced Registration to guard me from uninterested users, giving them a specific deadline to login; and New User Notification Email to notify me that a new user has signed up.

    After that, 3 other plugins come in. First, Moderate new members’ first posts, notifies me that a new user has made his first post. Depending on the type of the post (spam/non-spam), Spam Notification will take action, and let me know what’s happening and so I can take action myself. At the user’s second post and from there onwards, xili New Post Notification (xnpn) steps in, and notifies me whenever a new post is made, but is no longer moderated, and so the users post freely.

    These 5 plugins are brilliant, and if someone was to implement them all in bbPress Moderation Suite, as selectable modules, that would truly become a must-have plugin.

    Anyway, another thank you to the developers and thank you Kevin as well.

    Best regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello Kevin.

    “I thought you wanted notification of a first post (or a new topic) and not every reply”. That is exactly what I want to achieve with this plugin. It is not you who has caused the confusion, but me, due to my inability to explain myself.

    Again, you have identified precisely how I want it to work.

    1) New post

    2) Check and make spam

    3) A plugin Email you if first time poster.”

    These are the actions for Moderate new members’ first posts:

    add_action('bb_new_post', 'mod_notification_new_post');

    add_action('extra_profile_info', 'mod_notification_profile');

    add_action('profile_edited', 'mod_notification_profile_edit');

    And this for xili New Post Notification (xnpn):

    add_action('bb_new_post', 'admin_notification_new_post');

    I intend to leave xili’s plugin always activated, so my designated email address will receive all post notifications.

    Now, using the moderator’s plugin, the admin_email should receive only the first post notification.

    So, the changes should look like this?

    add_action('bb_new_post', 'mod_notification_new_post', 7);. This is the action that marks a post as spam and sends the email to the admin. Is the other email address going to receive the same email?

    But I don’t understand how is a second post from that same user, going to activate the other plugin and send an email only to the second email address and not the first.

    add_action('bb_new_post', 'admin_notification_new_post', 9);

    Have you, by any chance, tried the two plugins?

    Anyway, I cannot try any of these settings at the moment, since I have to deal somehow with an unexpected 403 error.

    Oh, and the custom plugin sounds like a very nice idea, but I’m afraid that it is something way beyond my abilities.

    Thank you.

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello Kevin.

    Thanks again for your intervention.

    So, instead of post_status = 0 I should use post_position=1?

    But then how is it going to be handled by askimet after that? Because I read here that 0,1 and 2 are statuses that akismet sets.

    Or is this another solution to my first post moderation?

    I am sorry that I cannot follow. I wish I would be quicker.

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    Exactly what I wanted: <?php post_author_avatar(); ?>

    I had some problems with my permissions for the avatar folder in the root forum. It’s set to 755 now.

    Thank you.

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    What I wanted was to allow only certain users to post images. And following your advice, this is what I did.

    function allow_images_allowed_tags( $tags ) {

    if (bb_current_user_can('moderate'))

    {

    $tags = array('src' => array(), 'title' => array(), 'alt' => array());

    }

    return $tags;

    }

    add_filter( 'bb_allowed_tags', 'allow_images_allowed_tags' );

    ?>

    <?php

    Worked just fine.

    Thank you once again.

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Well, now this is…interesting.

    I uploaded the test.php

    After http://pastorbob.limewebs.com/my-plugins/browser-timer/test.php

    I get this: `Internal Server Error</p>

    <p>Directory “(removed for security)/pastorbob.limewebs.com/my-plugins/browser-timer” is writeable by group`

    Which had one good thing to it: it gave me my server directory.

    But anyhow, after that I tried again the http://pastorbob.limewebs.com/?browsertimer I discovered that is working, without the extra modification that you’ve suggested.

    Simply $browsertimer['log']=dirname(__FILE__).'/browsertimer.log'; and it worked.

    I obviously modified the line to $browsertimer['log']='(removed for security)/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log'; and it worked just as well.

    Now, my uneducated conclusion was that as long as I had one file called browsertimer.log in my entire forum folder the two expression would output the same result. The 2nd on the other hand is the best one.

    What would your conclusion be?

    Thank you anyway.

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    I have deleted the .log file. I’ve made the modifications in browser-timer.php

    $browsertimer=dirname(__FILE__).'/browsertimer.log';

    The weird thing is that I can no longer see the .log file being created and I get the same log open error

    My permissions on the folder are 777, as I said before.

    Another thing is that I am getting a 550 Permission Denied in Filezilla when I try chmod, but it’s ok in their filemanager. Even Filezilla tells me that I have 777.

    Any other ideas?

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello again.

    I cannot get it to work yet. Jolly well!

    So, my Filezilla path is: /pastorbob.limewebs.com/my-plugins/browser-timer/

    But my FTP is ftp://ftp001101.limedomains.com/pastorbob.limewebs.com/my-plugins/browser-timer/

    I have changed this to what you’ve told me: $browsertimer['log']=$_SERVER['DOCUMENT_ROOT'].'/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log'

    Then I’ve tried the other option as well: $browsertimer['log']=$_SERVER['DOCUMENT_ROOT'].'/ftp001101.limedomains.com/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log'

    I thought that I might have been on to something. But I wasn’t.

    Thank you for your help, again!

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    I have an account on limedomains.com

    My home directory is pastorbob.limewebs.com

    So, I figured that this should be my setting in browser-timer.php

    $browsertimer['log']=dirname($_SERVER['DOCUMENT_ROOT']).'/pastorbob.limewebs.com/my-plugins/browser-timer/browsertimer.log';

    I set the permission for browser-timer to 777.

    I created a file called browsertime.log

    But when I go to http://pastorbob.limewebs.com/?browsertimer , I get log open error

    Is it just me?

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    I stand corrected, again. I missed the bit “Home >> Web forums >> Vbulletin >> May, 2009″.

    No wonder…

    Thank you.

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    I managed to identify my problem. Both your advices worked perfectly, it was my lack of attention to be blamed here.

    When I was uploading the file via FTP (filezilla) I wasn’t paying attention to the new file size on the server (which proved to be different – smaller – than the one that was being uploaded). I know that I have the possibility to compare them, so I would have spotted this much earlier but…

    After I’ve changed the permissions again (755, an issue that I had before) and uploaded it from their (the server’s) file manager, things turned out just fine.

    @kevin

    I thought that you had a way of *getting* my line number, even if I was modifying my style.css, since you’ve quoted it so accurately. I understand that the main use is referential. Which is good!

    The only reference to white-space:nowrap; was at 697, as you said, and I have removed it.

    Are this guy’s suggestions ( http://www.devcomments.com/Display-Sub-forum-on-2-or-mocolumns-to17176.htm ) of any use? And if yes, I go back to my question from my last post, where can we find functions_display.php?

    Thank you once again.

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    Firstly, thank you for your responses.

    @_ck_

    I’ve tried white-space: wrap !important; with no effect unfortunately.Thank you for you Polls and Instant Password plugins. I admire the practical approach.

    The “}” has been simply overlooked when I pasted in the lines. It exists in my style.css

    @kevin

    Your explanations were very good, since I got it working once. But now it isn’t any more. The only thing that I have installed afterwards was the BBcode Buttons Toolbar plugin, but even after having deactivated it, things are still the same.

    I found this piece of advice though, http://www.devcomments.com/Display-Sub-forum-on-2-or-mocolumns-to17176.htm , but now I cannot seem to find functions_display.php , so I can try this man’s idea as well.

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    OK, but it’s not working. I don’t think that the line nr matters that much, does it?

    Anyway, I’ll post everything that involves my forumlist from my stylesheet here, to prove that I did exactly what you’ve suggested.

    .num, #forumlist small {
    font: 11px Verdana,Arial,Helvetica,sans-serif;
    text-align: center;

    #latest td, #forumlist td, #favorites td { padding: 5px 10px; }
    #forumlist tr td div.nest {
    padding-left: 2.5ex;
    }
    #latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background-color: #d8dcf2; }
    #latest th, #forumlist th, #favorites th {
    text-align: left;
    background-color: rgb(102, 102, 102);
    font: 11px Verdana,Arial,Helvetica,sans-serif;
    font-weight: normal;
    padding: 5px 9px;
    color: rgb(255, 255, 255);
    }
    #latest th a, #forumlist th a, #favorites th a {
    color: rgb(200, 200, 200);
    font-style: italic;
    }
    #latest th a:hover, #forumlist th a:hover, #favorites th a:hover {
    color: rgb(255, 255, 255);
    }

    #latest, #forumlist, #favorites {<br />
    background-color: #f7f7f7;<br />
    margin-bottom: 3em;<br />
    }</p>
    <p>#latest, #forumlist {<br />
    margin-top: -0.9em;<br />
    padding-right: 10px;

    I hope that it is of some use.

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello again.

    I’m back to the unwrapping issue again.

    Even though I’ve got .num, #forumlist small {

    font: 11px Verdana,Arial,Helvetica,sans-serif;

    text-align: center;

    } forumlist is still unwrapped, as in the screenshot.

    http://i896.photobucket.com/albums/ac166/nobody5973/screenshot_003.png

    Any ideas?

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Kevin, you’re the man! Worked like a glove. I had no clue where to look.

    Mind you, how did you know my line nr?

    Thank you.

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    I’m back with a few results, both good and bad, but mostly bad; in fact – disastrous. It might be just me, but I find modifying kakumei much more difficult then wordpress’ default theme (twentyten). My skills, on a scale from 1 to 10, are at about 3, but everything that’s changed from the default in wp (except the header and footer jpegs), to what you see here now were made by me.

    So, this is what I have at the moment: http://i896.photobucket.com/albums/ac166/nobody5973/post.png

    http://i896.photobucket.com/albums/ac166/nobody5973/prelogin.png

    I got round my last issue, by placing the header.jpg in a branding div, which came before a colophon-header, containing the login and my returntosite. For the time being, the header and the footer can stay as they are.

    My current issue needs, I guess, a different topic, since it has to do with the forumlist table.


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello again.

    Thank you for the tip.

    It seems to be working now, even though I don’t know where I was going wrong.

    Another thing that I don’t seem to be getting to work my way, is the fact that after I (or any user as a matter of fact) log in, both the redirect link and the login form move from their position before the login (which is underneath the header), to that immediately after the search bar, placing it on top of the header.

    Here are two samples of what I mean

    Before: http://i896.photobucket.com/albums/ac166/nobody5973/before.png

    After: http://i896.photobucket.com/albums/ac166/nobody5973/after.png

    Suggestions?

    Regards,

    Bob


    pastorbobsforum
    Member

    @pastorbobsforum

    Hello.

    Thank you for the fast intervention. I should have thought twice before asking my uneducated questions.

    After a few modifications in my header, I cannot access my forum at all.

    This is what I have in my style.css

    #returntomain-site {
    font-family: Georgia;
    font-style: bold;
    float: left;
    position: right;
    font-weight: bold;
    width: auto;
    font-size: 16px;
    padding: 205px 0px 0px 0px;
    margin: 5px auto 10px 20px;
    }
    #returntomain-site a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    }
    #returntomain-site a:hover { color: #666; text-decoration: underline;}

    This is what I use in header.php, to get my link underneath the header, on the right side, opposite to the login.

    <div id="header" role="banner">
    <?php if ( !in_array( bb_get_location(), array( 'login-page', 'register-page' ) ) ) login_form(); ?>
    <div id="returntomain-site"><a>" title="<?php esc_attr_e('Return to main website's home page', ''); ?>" rel="site"> <?php printf( __('%s', ''), 'Go back to The Christian Study' ); ?></a>
    </div><
    </div>

    Now, what I don’t get is why when I simply comment these sections in header and style, the forum is still down, but when I remove them completely, the forum comes up again. In both situations (commented bits vs.removed), I can perfectly well login into my account. There is definitely something wrong with my theme. If only I knew what…

    My forum is here http://www.pastorbob.limewebs.com

    Any advice?

    Thank you.

    Bob

Viewing 25 replies - 1 through 25 (of 26 total)