DISQUS

OMNINOGGIN: WP Greet Box WordPress Plugin

  • Brian · 1 year ago
    Is there any way you can customize the url's

    e.g. specify other url's to the ones you have already done
  • Artem Russakovskii · 1 year ago
    Finally! I think this is a great idea for a plugin and is especially awesome because it's compatible with wp-supercache. Javascript-powered plugins are the way to go in a cached environment.

    Thanks, man, I'll definitely add this into my blog, together with the Force Preview plugin.
  • Thaya Kareeson · 1 year ago
    @Artem
    Thank you for your kind words! Please let me know when you have these plugins integrated to your site so that I can check it out.
  • Thaya Kareeson · 1 year ago
    @Brian
    From the F.A.Q. in readme.txt :)

    How do I add additional greeting messages?
    Right now you will have to hack wp-greet-box.php by adding another element in
    the arrays in get_default_options() and get_messages() array. That said, I do
    not recommend doing it beacuse because I will soon enhance the plugin to let
    you add as many greeting messages per referral domain as you want without
    hacking the code. Please stay tuned!
  • Thaya Kareeson · 1 year ago
    Released version 2.0 with the following new features:


    Added ability for users to add/delete/disable greeting messages.
    Added confirmation dialogs for delete and reset function.

    Told you it was coming ;).
  • Thaya Kareeson · 1 year ago
    Version 2.0 allows you to do this through the WP Greet Box options menu. No more hacking!
  • caschy · 1 year ago
    Nice Plugin and manual trackback from Germany:
    http://stadt-bremerhaven.de/2008/07/28/begre-de...

    Greets
    Carsten
  • Thaya Kareeson · 1 year ago
    @cashy
    Thank you for writing about my plugin!
  • caschy · 1 year ago
    @Thaya
    I've added Google-Support for my blog - but the message is also shown in GoogleReader. Any chances to disable this - because i don't wanna show this message to users who have subscribed my feed.
  • Thaya Kareeson · 1 year ago
    @caschy
    I haven't had the chance to add exception rules to this plugin. I'll add that to the feature list for the next release (which will probably be soon since this would be an easy fix).
  • Stefan · 1 year ago
    Hi there,

    I'm trying to use your plugin after Caschy's recommendation but I'm not able (no knowledge in PHP and so on) to integrate it into my theme.

    If I want to add it below my header, how do I have to integrate this code

    "php wp_greetbox()"
    (sorry, I cannot add it totally correct here, then it wont be shown)
    <!-- Start GreetBox -->

    into my theme? I placed it into several positions into my header.php, but no chance to see it... (yes, the plugin is set to active within my backend ;-) ).

    thanks in advance,
    Stefan
  • Thaya Kareeson · 1 year ago
    @Stefan
    Did you place <?php wp_greet_box(); ?> in your code? Make sure you use wp_greet_box() and not wp_greetbox().
  • Stefan · 1 year ago
    Hi Thaya,

    yes, I placed

    <!-- TEST GreetBox -->
    <?php wp_greet_box() ?>
    <!-- Ende GreetBox -->

    in it. It should be correct, isn't it?

    Thanks in advance,
    Stefan
  • Frank Koehntopp · 1 year ago
    Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /www/htdocs/w0076451/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 98

    Any idea how to get rid of that?

    Thanks,
    Frank.
  • Thaya Kareeson · 1 year ago
    @Frank Koehntopp
    Sounds like you are on PHP4 (right?). PHP4 doesn't support &$message syntax, but I think you don't really need the '&$' in this case. Try just removing '&' in '&$' and see if it works for you. I remove this on the next release.
  • Thaya Kareeson · 1 year ago
    @Stefan,
    Looks like it should work. Maybe you need a semicolon at the end of wp_greet_box():

    <!–- TEST GreetBox -–>
    <?php wp_greet_box(); ?>
    <!–- Ende GreetBox -–>
  • Stefan · 1 year ago
    No, that doesn't help - maybe I'm to stupid for it. ;-)

    Can you give me an example file with this code (it is equal which theme you're usung).

    With kind regards,
    Stefan
  • Thaya Kareeson · 1 year ago
    @Stefan
    I've sent you an email. Let's discuss it there so we can resolve this issue quickly.
  • Thaya Kareeson · 1 year ago
    Released version 2.1 with the following change:

    Fixed PHP4 incompatibility.
  • Barry Flanagan · 1 year ago
    This plugin is a great idea. It takes the idea of the "What would Seth Godin Do?" plugin to the next logical step, custom greeting by referrer.

    Is there any way to have a default greeting for new visitors (referred or not) and a default greeting for non referred visitors? Or, is there a way to make this plugin work with the "What would Sth Godin Do?" plugin? I have that one installed already,and GreetBox doesnt do anything if that was i enabled.

    Thanks for the great work!
  • Thaya Kareeson · 1 year ago
    @Barry Flanagan
    Let me look into this. I'm planning to enable cookies support too so it can do what "What would Seth Godin Do?" does plus showing customized greeting messages per referrer. This doesn't seem hard to do at all, but I'm suffering from a stomach flu right now so development might be delayed till next week.
  • Barry Flanagan · 1 year ago
    Thanks. I appreciate your hard work.
  • danielcreus · 1 year ago
    Hi Thaya,

    I tried installing the plugin but encountered the same problem as Stefan (PHP4 incompatibility) Where can I download version 2.1?

    Thanks

    Dan
  • Thaya Kareeson · 1 year ago
    @danielcreus
    Sorry you are had this problem. It turns out that I kind of goofed on the last SVN commit so the WordPress plugins directory did not get updated properly. I have resolved the issue and you can now download the plugin at the official plugins directory.
  • Frank · 1 year ago
    Seems like version 2.1 is missing the .js in the archive.
  • Thaya Kareeson · 1 year ago
    @Frank
    Thank you for noticing. This is intended as wp-greet-box.js is supposed to be automatically generated upon plugin activation and every time you visit WP Greet Box options. Please let me know if you have any issues with it.
  • Thaya Kareeson · 1 year ago
    Released version 3.0 with the following new features:


    Added cookies support so we do not keep showing the same message to returning visitors.
    Added default message when no referrer match is found.

  • Sid Savara - Personal Developm · 1 year ago
    Thaya -

    First thanks for releasing the plugin, it's awesome!

    Unfortunately, I have discovered some incompatibility with the DISQUS javascript plugin, but only in IE7. It works fine in Firefox. SInce I am using DISQUS to power my comments, unfortunately I had to turn off WP-Greetbox,even though it's one of my favorite plugins. Just wanted to let you know, it's quite possible it's not the fault of your plugin but rather DISQUS. I have informed them of the issue as well.
  • Thaya Kareeson · 1 year ago
    @Sid
    Thank you for your kind words. That is interesting. I will have to try this plugin with DISQUS. It's my responsibility to try to make it as cross-platform as possible :). I'll let you know what I find.
  • Sid Savara - Personal Developm · 1 year ago
    Hi Thaya,

    BTW, the day after I made the comment, DISQUS released 2.0 of their plugin. So I installed it, and am first making sure that's solid. It appears to be.

    I am going to try out WP-Greetbox with it again when I get home today, in case they have fixed the issue. Also, here is the thread where I told them of the issue:

    http://disqus.disqus.com/ie_issues_with_wordpre...

    Interesting, other people also have had issues

    It appears DISQUS and various other plugins also had issues, so I don't think the issue is isolated to WP-Greetbox - it's probably just one of those things where they are doing JS one way, and you (and other plugins) are trying to load another way. Or something - I am not as skilled at JS as you are =)

    A feature request also - this may make the plugin more complex, but since we are tracking cookies, would it be possible to show the visitor different things depending on whether they are returning from the same referring domain?

    For example, a delicious user visiting who has visited multiple times or something - they may just have it bookmarked.
  • Thaya Kareeson · 1 year ago
    @Sid
    Thank you for opening a thread with DISQUS. Hopefully you get this issue resolved. Can you please let me know later if it works out for you or not?


    As a side question, how do you like DISQUS? Have you tried SezWho? If so, why do you like DISQUS better?



    About the feature request, looks like the feature you are requesting is different levels of tracking visitors (i.e. site level, referrer URL level, page level).



    So for sites like del.icio.us you would want the plugin to be tracking visitors at the "page level", which means that if they are visiting from del.icio.us to a page that they have not seen before, then the message will show. But if they are visiting from del.icio.us to a page that they have seen before, then the message will not show.



    For sites like google.com, you probably would want the plugin to be tracking visitors at the "referrer URL level" (which is what we have right now).



    For other visitors, you probably would want the plugin to be tracking visitors at the "site level" (which is what the default greeting message display is doing right now).



    Is this correct? If so, it sounds good and do-able for me to include this in the next release.
  • Sid Savara - Personal Developm · 1 year ago
    @Thaya

    Sure I will try it out tonight and report back by this weekend on the DISQUS issue! I have been using "What Would Seth Godin Do" as a replacement, but I think your plugin is superior - more granularity, and Javascript checking versus server side comparison.

    I have not tried SezWho, is that what you are using? I basically use DISQUS because a few blogs I read were using it, and it allows you to reply via email to any new comment or replies, and that becomes a blog comment (which I thought would be great, since I always have my blackberry). That said, SezWho may have the same functionality.

    I think that what you and I are talking about are two slightly different features. I think your way would be MUCH more powerful (and might be a little scary for users ;) "I know you like my blog, and you've read these 5 pages, but not this 6th one, Welcome! MWAHAHAHA". What I was suggesting was just a simple counter like "what would seth godin do" where it shows the message the first 5 times, and then stops harassing them =).

    I'm sure whatever you put into the plugin will be excellent though - it's super polished. I'll probably write a review of it on my blog at some point. Or maybe I should keep it a secret for myself ;)
  • Thaya Kareeson · 1 year ago
    @Sid
    As far as I know, SezWho doesn't have that functionality. I've heard from others that SezWho is pretty lightweight and it doesn't take over your comments like DISQUS so that's why I chose it. I do like the email comment reply feature of DISQUS, but I believe there is already a plugin that does this (or a feature that is coming in WP 2.7).


    I guess it boils down to which one people use the most. If more people are using DISQUS then I might switch over.



    About the WP Greet Box plugin. It sounds like if I want to implement the feature I described, I will need to hide the feature by default, and display it when "advanced options" is enabled. Nevertheless, I saw WWSGD's feature of counting the number of visits, but I didn't really like it much in the beginning. I like WP Greet Box's feature that keeps track of the visitor's last visit more, but it sounds like you've found a good use case for this for bookmarking sites like del.icio.us.



    I will definitely add this to the features list for next release.
  • Sid Savara - Personal Developm · 1 year ago
    I actually had a bit of the opposite train of thought regarding the "taking over your comments." It is true, DISQUS has them all on their servers. The new version (2.0) syncs it with both your blog and their servers, however I liked the idea of being able to go to DISQUS.com and seeing all my comments I had made EVERYWHERE and also being able to just reply in thread. That way I don't have to check every blog I comment on.

    For example (and this is an example, not trying to convince you) if you used DISQUS, I always have my dashboard open. I would be able to see you replying to my comments there, and reply there. Or, if I am somewhere away from a computer, I can reply via email, even though it's your blog and not mine, because it's all DISQUS powered. Right now, I have to keep coming back here to comment.

    My hope is that someday many blogs will be disqus powered, and I won't have to keep returning to the webpage to reply - just reply from my blackberry, or from the dashboard. I also like the fact that anyone can view my profile on disqus and see wherever I have commented (though I am not really taking advantage of that feature much, since few blogs so far are DISQUS powered relative to how many I read)

    ================
    Topic switch!

    I agree with making any new features "advanced options" - don't want to make the plugin TOO complicated. Other users may be intimidated by it otherwise!

    Another feature request - Is there a way to also have a default "noscript" type thing? Like if someone has JS turned off, I want to always show them a "welcome to my blog, please subscribe!" message. Right now (I believe) the "default" message only shows if it does a cookie check in JS.

    I know some PHP, JS, etc - if you would like to give me access to it (you would own everything - it's your plugin) I would be happy to work with you on it. I know I can edit the PHP right now, but if you have a source control system somewhere we could use that - or I can just edit and email you changes. So far I have not done anything to it.
  • Thaya Kareeson · 1 year ago
    @Sid
    Looks like SezWho does have some of these features that DISQUS has, but I just do not know how to utilize them myself. I have to check this out and compare it to DISQUS


    ===



    The default "noscript" thing is also a good idea and is worth adding.



    I don't have source control setup anywhere outside of the official WordPress plugins SVN repository and unfortunately I don't think the WordPress guys grant multi-user checkins to their database. Regardless, please feel free to make any modifications you like and send them to me so I can integrate it and credit you properly.
  • Sid Savara - Personal Developm · 1 year ago
    Ahhh! Comment preview ate my comment!

    So basically what I said was that DISQUS and SezWho are pretty similar I guess - one big difference is blogs I read already had DISQUS, so I went with them. Also, DISQUS has upmod/downmod versus ratings, and I am not sure which is better/worse.

    Cool, if I make any changes I will send them to you and let you know =). I probably won't get to anything for quite a while as I'm working on my content for my blog and have a hectic schedule for the next few weeks, but this is my favorite new plugin!
  • Thaya Kareeson · 1 year ago
    I know that the SezWho guys have a new version coming up and I'm quite excited to see what they've got in store for us. Maybe they'll have the thumbsup/thumbsdown voting system too.
  • Sid Savara - Personal Developm · 1 year ago
    So, happy to report back - success! It appears it must have been a DISQUS issue, as it is all working now that I've upgraded. Was considering emailing you, but I felt it would be good to have it in a comment for anyone using DISQUS who might be concerned. It works great.

    I will report back if there are any further issues. So far, so good.

    Also, FYI, there is del.icio.us and now there is delicious.com. I went ahead and added it manually in my plugin, perhaps you may want to consider adding it as another default entry.
  • Micke · 1 year ago
    Error: Warning: Invalid argument supplied for foreach() in /home/xxx/public_html/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 244


    I got that error in the WP Greet Box admin panel after install the plugin, help me plz.
  • Bjorn V · 1 year ago
    Upon activating the plugin in WP2.6.1. I stumble upon a very Nasty error:

    [quote]Fatal error: Cannot redeclare wp_greet_boxx() (previously declared in /home/dawebmaste/domains/verzijlbergh.com/public_html/wp-content/plugins/wp-greet-box/wp-greet-box.php:558) in /home/dawebmaste/domains/verzijlbergh.com/public_html/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 559[/quote]

    Any idea what could be wrong?
  • Thaya Kareeson · 1 year ago
    @Bjorn V
    Can you make sure that your server has write permissions to the plugins/wp-greet-box folder? That is the most common issue. As the readme.txt say under "Frequently Asked Questions":

    = "Fatal error: Cannot redeclare wp_greet_box()" What gives? =
    This error can occur from 2 things:
    1. Having multiple versions of WP Greet Box and attempting to activate both of
    them.
    2. The web server does not have proper write permissions to the wp-greet-box/
    plugin folder. To confirm that this is the issue, try to chmod 777 the
    wp-greet-box/ folder and reactivating the plugin.
    I'll try to add more error detection on an upcoming release so it's more clear
    during installation.

    Hope this helps.
  • Thaya Kareeson · 1 year ago
    @Micke
    Are you able to activate the plugin successfully? It looks to me like in your case, the $messages hash was not initialized properly. Also your options table might be corrupted. Try checking to see if you have an entry in your wp_options table called "wp_greet_box". If so, delete that row and try activating the plugin again.


    Hope this helps!
  • Micke · 1 year ago
    Done!
  • Thaya Kareeson · 1 year ago
    @Micke
    Did it work?
  • AndyBeard · 1 year ago
    Just an idea, couldn't you have the messages generated as a dynamic RSS file, and then use a static JS file to read the RSS.
    I don't like the idea of writing to file, plus it would make it more useful for other installations such as WPMU
  • Thaya Kareeson · 1 year ago
    @Andy Beard
    I haven't even thought about that. I agree that writing to a file is pretty archaic (but it sounded like a good idea in the beginning). Thank you for your suggestion. I will incorporate this change in the upcoming release.
  • Mark · 1 year ago
    Thaya,

    Your plugin works great! It's one of my favorites! Unfortunately i have one small problem: in IE7 it shows up great, in FF3 the background of .greet_block doesn't show up... Therefor i needed to deactivate the plugin. :(
  • Thaya Kareeson · 1 year ago
    @Mark
    I'm not sure why it doesn't work for you in FF3. I use FF3 and I haven't seen any issues with it. What is your website? Can you try turning on the plugin so I can run firebug on it?
  • Steven · 1 year ago
    I'm stumped. Uploaded the plugin, activated it and then added a text widget with the php snippet... went to Google, searched for my site, found it, clicked on it... but no message.

    I did a view source and I actually see the php snippet.

    I have no idea what I'm doing wrong.

    WP 2.6.2 with semiologic
  • Thaya Kareeson · 1 year ago
    @Steven
    I don't think WordPress allows you to use PHP code within a text widget. You will have to manually modify your sidebar.php file and drop the code there.
  • Steven · 1 year ago
    Ah, so, given that, I downloaded the Samsarin PHP Widget... and was able to get Greet Box to display (in fact, I put it above each entry, rather than in the sidebar).

    But now, in IE, when I click on the "x", IE reports an error (down at the bottom left of the status bar) on the page:

    Error: object expected
    Code: 0
  • Steven · 1 year ago
    Oh, it works perfectly in Firefox, BTW... clicking the X closes the box without any error.

    But in IE, I get an error and the box doesn't close
  • squeeq · 1 year ago
    It seems that the plugin does not work with facebook referrals. Any idea? Apart from that it works real nice. thx
  • Thaya Kareeson · 1 year ago
    Released version 3.1 with the following features:

    Added referral URL exclusion rules capabilities.
    Added noscript support for users with javascript disabled.
    Paginate admin pages.
  • Thaya Kareeson · 1 year ago
    @squeeq
    I'm not sure why that is the case. It shouldn't work any differently. Can you check the facebook referrer URL against what you have specified in your settings?
  • Thaya Kareeson · 1 year ago
    @Steven
    Let me look into this. I might have to release another version to get this fixed for IE. Also, what version of IE are you using?
  • Thaya Kareeson · 1 year ago
    Just added delicious.com to the default of version 3.1. Thank you Sid!
  • Steven · 1 year ago
    I'm using IE 7.0.5730.11 on Windows XP.

    Haven't tested on IE 6 (but I can do that in a bit)
  • Steven Sashen · 1 year ago
    Any news/progress/etc. on the IE issue I mentioned, above?

    (clicking on the "close" X returns an error:

    Line 327, Char 64, Error: Object Expected, Code: 0

    Thanks again...
  • Thaya Kareeson · 1 year ago
    @Steven
    I cannot reproduce this with IE7 or IE6 on my site. I do see that it is not working on your meditation site though. There must be some sort of site specific code on your end?
  • Steven Sashen · 1 year ago
    I don't know what you mean by "site specific code", so I'm not sure what I would check, change, etc.

    I'm using the Semiologic Pro theme without any modifications to the WP code.
  • Thaya Kareeson · 1 year ago
    I'm looking at your site right now and I can't get the Greet box to show up after clearing cookies even in Firefox anymore. Can you revert what you are doing? I'm going to run the IE7 debug toolbar on it.
  • Steven Sashen · 1 year ago
    I just reset everything... and I emailed you some information. I *think* part of the problem is the Semiologic addition to Google Analytics.

    I was getting an error similar to the one I reported here when I clicked on a translation flag... turning off the Goog-Analytics removed that error.

    Also, when I viewed the page's source in TextPad, line 326 was in that analytics section. Debugging/fixing this is out of my league; Any help you can provide is GREATLY appreciated!
  • Thaya Kareeson · 1 year ago
    Released version 3.1.1:

    Fixed a bug that caused the greet box to not show up if exclusion rules are not specified.
  • Thaya Kareeson · 1 year ago
    @Steven
    For some reason, I cannot see the onclick action through the IE debugbar, so I suspect that Semilogic might not allow link onclick actions.

    Can you try the following on your site? On line 262 of wp-greet-box.php, modify:

    <a onclick="wpgb_close()">X

    to be:

    <a href="javascript:wpgb_close()">X

    Now try to close the box in IE again.
  • Steven Sashen · 1 year ago
    Unfortunately, that didn't make a difference.
  • Thaya Kareeson · 1 year ago
    @Steven
    After that change, when I click on the X, I noticed that the greet box actually closes after the Javascript error. I really think it's something on your site analytics that's causing this. Basically, some Javascript is trying to intercept all "clicking" action to record it for analytics, then it returns to the actual function, which is wpgb_close(). The wpgb_close() code executed fine (that's why the box disappeared) without any Javascript error message.

    Also, if I click on any link on your page, I get the same error Javascript error message. This is definitely a Semiologic issue.
  • Kelson · 1 year ago
    Hi, I've been trying this out, and I ran into something unexpected. It seems that disabling the default greetings prevents the custom greetings from appearing. This doesn't make sense, as I would expect the settings to be independent.

    Is there any way to set it up to show only the custom greetings?

    Thanks!
  • Thaya Kareeson · 1 year ago
    @Kelson
    Thank you for trying this out. I wasn't aware of this issue, but I'm actually on the verge of releasing a new version of WP Greet Box that will resolve this issue and many other issues. Please hang tight!
  • Thaya Kareeson · 1 year ago
    Released version 4.0:

    - Greeting message now fades out when the close button is clicked.
    - Frontend greeting message display now uses AJAX to display the proper greeting message.
    - There is no longer a need to pre-generate a static wp-greet-box.js file for these greeting messages. This also fixes the "Fatal error: Cannot redeclare wp_greet_box()" error that many people are getting from incorrect permissions.
    - Greeting message administration UI became a lot easier and quicker after AJAXification.
  • Kelson · 1 year ago
    Thanks, I'll check out the new version!
  • Kelson · 1 year ago
    Works great! One problem, though: onload.js assumes that WordPress is installed at the root of the website. If it's in a subdirectory (mine's at /journal) you have to manually edit the file to point to the right place.

    I'm not sure if there's a good solution that won't require either write access to the file or generating it on the fly
  • Thaya Kareeson · 1 year ago
    @Kelson
    I was afraid of that. I think I have a solution for this without having to manually edit the file to point to the right place and without enabling write access to the javascript file. I'll see what I can do about it. Thank you for reporting back! Also, please remember to write about it if you like the plugin!
  • Thaya Kareeson · 1 year ago
    Released version 4.0.2

    - Fix some IE compatibility issues.
    - Also fixed Javascript to work with non-standard directory WordPress installs.
  • Kelson · 1 year ago
    Cool! 4.0.2 works out-of-the-box! Thanks!

    I'll give it a full shakedown and write it up this weekend!
  • Thaya Kareeson · 1 year ago
    I am very happy to hear this! I have subscribed to your blog. Thank you!
  • Kelson · 1 year ago
    Looks like I spoke too soon. With 4.02, I can no longer do anything with the admin panel. I just get Error:[object XMLHttpRequest] whenever I click on Edit, Activate, etc.

    I even tried disabling the plugin, deleting the files, and removing the wp_greet_cache row from the options table, then reinstalling the plugin. Same problem.

    Tested in Firefox 3, Opera 9.6, Safari 3.2, and IE8 beta2.
  • Robin Hood Adventures · 1 year ago
    Hi, love the plugin and I'm using it on my site.

    Unfortunately I've run into a slight problem after upgrading to v4.02. When I try to add a new greeting message I get a box pop-up with the following error:

    Error:[object XMLHttpRequest]
  • Thaya Kareeson · 1 year ago
    Looks like 4.0.2 triggered a regression failure. Let me check it out.
  • Thaya Kareeson · 1 year ago
    Released 4.0.3

    - Fixed regression AJAX bug.
  • Thaya Kareeson · 1 year ago
    @Robin Hood Adventures
    Can you give 4.0.3 a try? Thanks!
  • Thaya Kareeson · 1 year ago
    Can you give 4.0.3 a try? Thanks!
  • Steven Sashen · 1 year ago
    Wordpress.org still only has 4.0.2 (as of 4:06pm MT, Friday)
  • Thaya Kareeson · 1 year ago
    Relase 4.1 (last time today, I promise)

    - Security patch using nonce verification on admin AJAX calls.

    This fix takes care of the security loop-hole that was left open by having AJAX in the admin section. I think Referrer Detector also has this issue (as of 11/14/08). I highly recommend that everybody upgrade to this version of WP Greet Box.
  • Kelson · 1 year ago
    Whew! After that whirlwind, it looks like it's finally working with 4.0.3! Thanks!

    Except... (sorry!) one more thing. I've seen the default message appearing even when it's disabled. I did some experimenting, and from what I can tell it only appears if the referrer is empty (i.e. it's been set to 'default' in onload.js), and shows up whether it's been disabled in the admin interface or not.

    It looks like both issues are on line 372 of wp-greet-box.php, in the find_greet_html function.

    For the first problem, it looks like the check to see whether referrer is 'default' is unnecessary. If I remove it, it shows the default message for both empty and unmatched referrers, and shows the custom messages where appropriate.

    The second problem is a simple typo - it's looking for 'disabled' instead of 'disable' so it misses the option. If I change that, it respects the setting.
  • Kelson · 1 year ago
    4.1 seems to work properly after making the same change to find_greet_html.
  • Thaya Kareeson · 1 year ago
    @Kelson,
    Thank you Kelson. I didn't get the chance to read your comment about find_greet_html before I released 4.1. Bummer! I've been pushing updates a lot (with little sleep). So it might be best for me to take a few days break before I push another bug fix.
  • Kelson · 1 year ago
    I'm pretty sure you released 4.1 between the time I started testing 4.0.3 and the time I finished writing my comment, so I wouldn't worry about missing it!
  • Mike · 1 year ago
    Hey man,

    I tried using your plugin, I think its the best thing out there.
    I have been trying to get it to work for a while but its hard...

    I left you my website and I wanted to know, the recent version that you released, it seems like it will work with the version of wordpress that I have but for some reason, I don't know where I should place:

    Is it supposed to go on the index.php? on the header.php? and where? I can email you my code,

    Thank you very much in advance sir!
  • Robert@PNG · 1 year ago
    Hi,

    Your plugin seems to be working fine although I have noticed that since activating visitors to my blog are generating the following 404 errors:

    /blog/wp-content/plugins/wp-greet-box/wp-greet-box.css
    /blog/wp-content/plugins/wp-greet-box/wp-greet-box.js

    And when doing any work in admin screen of the plugin:

    /wp-content/plugins/wp-greet-box/js/admin_functions.js

    None of these three files exist in the original install of your plugin.

    An explanation would be really appreciated.

    Regards,

    R
  • Jon Aizlewood · 1 year ago
    Hi Thaya,

    Great plugin, and one I find really important for any blog.

    Unfortunately, I've just come across some incompatibility issues with the JS onload used in the plugin; it's conflicting with me Coda slider on my homepage and stopping it from preloading the images. This seems to have happened only recently, though I seem to recall you releasing a newer version of Greetbox lately? Or am I mistaken?

    When I disable the plugin entirely, my coda slider works fine. However, when I enable the plugin, I only use it on the single post page, yet the greetbox JS is loaded on all pages, including the homepage (where my slider is).

    Could you tell me how to disable the automatic JS onload on all pages, and use it only on my single page? Alternatively, are you aware of this bug or know of any other workarounds for it? As I said, I really love your plugin and am gutted I can't use it anymore!

    Regards,
    Jon
  • Robin Hood Adventures · 1 year ago
    Works like a charm - great work!!
  • Thaya Kareeson · 1 year ago
    @Robert
    That is quite odd. The new version make no references to wp-greet-box/wp-greet-box.css since it has been moved to wp-greet-box/css/wp-greet-box.css. Also the code is no longer referring to wp-greet-box/wp-greet-box.js (since it is no longer used). Can you try doing a clean install (by removing all files and then re-downloading?)
  • Thaya Kareeson · 1 year ago
    @Mike
    Depending on the theme (and how you like it to display), the <?php wp_greet_box(); ?> can go in different places. In most themes, it is best placed in the header.php file.
  • Thaya Kareeson · 1 year ago
    @Jon
    I'm going to release a new version (4.1.1) that will be using onload.js and other scripts on only pages that you specify <? wp_greet_box() ?>. Please hang tight!
  • Thaya Kareeson · 1 year ago
    Releasing WP Greet Box version 4.1.1

    - Modification so that Javscripts are only ran on pages with
    that has <? wp_greet_box() ?> calls.
    - Fixed adding new message bug.
  • Jon Aizlewood · 1 year ago
    Wow Thaya, that's what I call service!! You rock, thanks so much, I'll be the first to download 4.1.1. Glad I can use GreetBox again, it's great tool.

    Cheers,
    Jon
  • Thaya Kareeson · 1 year ago
    Please let me know how it works out for you. I wrote a test plan and ran through them on this release, let's hope I didn't miss anything. :)
  • Steven · 1 year ago
    FYI, when I go to the admin area for WP-Greet-Box, there seems to be a call to a non-existent file.

    I'm using 404-notifier and every time I go to the admin area, it spits out an email saying that this file is missing:

    http://www.MYDOMAIN.com/wp-content/plugins/wp-g...
  • Thaya Kareeson · 1 year ago
    @Steven,
    I need to start using that plugin :). Thank you for reporting this. Anyhow, I found the culprit. I have accidentally left a reference to admin_functions.js in wp-greet-box.php. It is harmless to leave it there, but notifications are annoying so you can remove it by removing that line from wp-greet-box.php:

    function load_admin_scripts() {
    echo(
    '<link rel="stylesheet" href="'.wpgb::get_plugin_url().'/css/wp-greet-box-admin.css" type="text/css"/>'.
    '<script type="text/javascript" src="'.wpgb::get_plugin_url().'/js/jquery.livequery.js"></script>'.
    '<script type="text/javascript" src="'.wpgb::get_plugin_url().'/js/admin_functions.js"></script>'
    );

    to:

    function load_admin_scripts() {
    echo(
    '<link rel="stylesheet" href="'.wpgb::get_plugin_url().'/css/wp-greet-box-admin.css" type="text/css"/>'.
    '<script type="text/javascript" src="'.wpgb::get_plugin_url().'/js/jquery.livequery.js"></script>'
    );


    I'll add this fix in the next WP Greet Box release.
  • Steven · 1 year ago
    Hopefully the last thing I report:

    The italic font looks great in Firefox, but horrible in IE7 (a pic of the difference I'm seeing is at www.meditationtruth.com/pic.jpg

    Suggestions?

    Thanks in advance and thanks again for a GREAT plugin!
  • Steven · 1 year ago
    ("horrible" was a an overstatement... it's been a long day and my webhost crashed and took 6 hours of work down with it; I'm not functioning very well at the moment)
  • Thaya Kareeson · 1 year ago
    @Steven,
    Wow, IE does look "horrible". You can try changing it to non-italic, by modifying wp-greet-box/css/wp-greet-box.css (remove "font-style:italic" from the .greet_block declaration).
  • Steven · 1 year ago
    I actually like the italic, but wondered if it was a font issue that could be easily changed to fix the issue (and didn't know what font to use instead of what's there).

    Also, I notice that when the page loads WITHOUT WP-Greet-Box showing, WPGB still seems to insert some space just above the date (if you look carefully, you can see the space being inserted and the post shifting downward just as the page finishes loading)
  • LGR · 1 year ago
    Really like your plugin and it works great on one site that I maintain. On another site however it is not working so well. Here is what I have discovered.

    It looks like it is a jQuery call that is the problem. On the site where it work the GET request looks something like this:

    http://www.website.com/permalink/index.php?wpgb...

    and that works.

    On the site where it does not work the permalink structure is different and is set to contain .html as well. So the permalink looks like this: http://www.website.com/blog/2008/11/permalink-n..., the jQuery request then looks like this:

    http://www.website.com/blog/2008/11/index.php?w...

    Which returns a 404.

    Thought I would let you know. I have deactivated the plugin for now until this can be fixed since my error log was getting rather full.
  • Thaya Kareeson · 1 year ago
    @LGR,
    Thank you for reporting this and for the debug work! I will look to see if I can fix this in the next version.
  • Thaya Kareeson · 1 year ago
    @Steven,
    Try using:

    font-family:Verdana,Tahoma,sans-serif;
    font-size:18px;
    font-style:italic;

    I have nice results with that setting on IE7 & Firefox3. I'll probably release with those settings in the next release.

    For the second issue. Is this in both IE and FF?
  • Steven · 1 year ago
    That CSS looks great in both IE and FF. Thanks.

    And, good catch about the space issue... it's only in IE (and I've only tested IE7, so I don't know if it does the same thing in IE6). In Firefox it's fine.
  • akash · 1 year ago
    Hi just installed it, it gives a error as

    Warning: stristr() [function.stristr]: Empty delimiter in /home/domainname/public_html/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 482

    ..
  • Thaya Kareeson · 1 year ago
    @akash,
    This message shows up if you do not have a referrer specified in one of your greeting messages. Please check that all of your custom greeting messages have a referrer specified. I will include a fix for this (and some form verification) in the next release.
  • Mistigen · 1 year ago
    Got the same problem as LGR. But came here actually to say that this plugin is somewhat the same as this one:

    http://www.phoenixheart.net/2008/11/here-it-is-...

    Is one of you ripping the other one off?
  • Thaya Kareeson · 1 year ago
    @Mistigen,
    Sadly, Referrer Detector actually "ripped-off" my plugin (it even says so on the original plugin page). I am quite disappointed since, all it is is a admin face-lift of my plugin with mostly less core features and a security flaw (as of version 2.0). WP Greet Box has some admin face-lifts now also.


    I don't see the point in ripping off a plugin if you do not have anything substantial to add to it :(. I'm trying my best to keep my users happy, but it's hard to balance work, hobby, and family obligations during the Holidays.



    Rest assure, I will tend to all of your needs as time permits. :)
  • Mistigen · 1 year ago
    I found yours by searching for another referer detector, since that one breaks my lightbox images.

    I tried combining some code to make the 'stumble this' and 'digg it' links to give decent permalinks, but since I'm a terrible coder I just break my website every time. The permalink problem thingie of mine does work with the rip-off though (but since it breaks other things it's of no use).

    I'll wait patiently till yours works with my site, thanks!
  • Thaya Kareeson · 1 year ago
    @LGR & @Mistigen,
    I've been trying to reproduce this bug, but I've been unsuccessful. Here are my settings:


    In WP Admin Settings:
    General->WP URL: http://omninoggin.com/staging/
    General->Blog URL: http://omninoggin.com/staging/
    Permalinks->Custom Structure: /%year%/%monthnum%/%postname%.html



    My public_html/staging/.htaccess file:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /staging/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /staging/index.php [L]
    </IfModule>



    Calls to http://omninoggin.com/staging/2008/10/index.php... is not returning 404 for me for some reason.



    Can you guys let me know what else I need to do to reproduce this bug?
  • LGR · 1 year ago
    @Thaya Kareeson,
    Well maybe that is the difference. On the site where it does not work WordPress is actually installed in a subfolder as per the codec (http://codex.wordpress.org/Giving_WordPress_Its...). The difference is that WordPress is installed in the folder called blog.

    The permalink structure is this: /blog/%year%/%monthnum%/%postname%.html

    Don't know if that will help. If there is anything else you need let me know.
  • Thaya Kareeson · 1 year ago
    @LGR,
    I had a feeling that was the case. Let me try configuring my test blog that way and try it again.
  • Thaya Kareeson · 1 year ago
    @LRG,
    I still cannot reproduce the problem with the subfolder setting specified per codec (I did manage to break my own website though :)). Can you do me a favor and try changing one line in onload.js from "index.php" to "/index.php" and retry this on your settings?
  • Chris O'Rourke · 1 year ago
    Love the plugin. Was actually preparing to write almost the exact same functions when a friend referred me to your plugin.
    Works like a charm however there is one issue with the plugin that I can see. Specifying a font in the css isn't needed. Any decent wordpress theme has already specified a sitewide font. This negates the need for the font type. If it wasn't for that aside from adding the code to the theme it's ready to go out of the box.
  • LGR · 1 year ago
    Changing the one line to /index.php fixed it right up. Thanks a lot!
  • Thaya Kareeson · 1 year ago
    @Chris,
    Thanks for your review. Version 4.2.2 will allow you to automatically insert the message before and after your post. I will also try the default CSS font setting per you suggestion. Also, please help me spread the word by writing about it if you like it!
  • Thaya Kareeson · 1 year ago
    Released version 4.2:

    - Auto-insert into the top of posts by default.
    - Added ability to auto-insert into the top of pages.
    - AJAXify adding new greeting message in administration.
    - New settings to make messages closable or not.
    - Easier exclusion rules (with regex toggle).
    - Prevent self-referral to trigger greeting messages.
    - Refferals are now per domain, instead of per URL.
    - Fixed a bug that causes greeting messages to not work if one of the custom messages did not have a referrer URL specified.
    - Fixed a bug that causes greeting messages to not work on non-default path WordPress installations.
    - More generic/stable CSS defaults.
  • Thaya Kareeson · 1 year ago
    Released 4.2.1:

    - Removed forced hidden back-link and added optional "Powered by WP Greet Box" at the bottom right of messages.
  • PzheL · 1 year ago
    Hi, great plugin! However, I received the following error when I tested out the plugin.

    Warning: parse_url() expects exactly 1 parameter, 2 given in /home/zheliang/public_html/blog/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 597

    Kindly assist. Thanks.
  • Steven · 1 year ago
    With 4.2 installed:

    a) The image is now ABOVE the text, rather than to the left of the text

    b) The issue I mentioned before is still there where, in IE7, when a page loads and WP-Greet box *doesn't* appear, the post shifts down a line (as if WPGB is inserting something even when it's not appearing)
  • Steven · 1 year ago
    Oh and the 404 because of wp-content/plugins/wp-greet-box/js/admin_functions.js is still there too. Just FYI.
  • creativeherb · 1 year ago
    Here's a feature request from me, maybe you have it in the works already! It would be awesome if the plugin allowed country based domain wildcards. A Japanese language welcome for *.jp users and a french greeting for *.fr users. Would make non-english language users feel right at home, especially when combined with a site translation plugin.
  • Thaya Kareeson · 1 year ago
    @PzheL,
    That is odd, the PHP documentation says that parse_url() accepts two parameters. Maybe it's a specific PHP version issue. I'll make a fix for it in version 4.2.2.
  • Thaya Kareeson · 1 year ago
    Released version 4.2.2

    - Added ability to auto-insert greeting message before or after the post.
    - Fixed default CSS (again).
    - Fixed parse_url() incompatibilty in some version of PHP.
    - Fixed blank line bug that shows up in IE when no greeting is shown.
    - Fixed invalid reference to wp-greet-box/js/admin_functions.js.
    - Hide advanced options in general configurations.
    - Gave administration pages a bit of a facelift.

    @Steven and @PzheL, this should fix all of your problems.
  • Thaya Kareeson · 1 year ago
    @creativeherb
    Thanks for the feature request. I was planning to do this, but I haven't yet because no one has requested it. I'll bump up the priority in my upcoming features list.
  • Kelson · 1 year ago
    4.2 breaks on blogs that are installed in subdirectories instead of at the top level. It's trying to load the script from /index.php, which isn't part of my WordPress install. If I manually change the url in onload.js to point to /journal/index.php instead, it works.
  • Thaya Kareeson · 1 year ago
    @Kelson
    Thanks for reporting this. Can you do me a favor and try using just index.php instead of /journal/index.php? Someone else with their blog installed as a subdirectory also had issues with index.php though. I'll address this issue when I get back from camping on Sunday.
  • LGR · 1 year ago
    Daily Blog Tips has a write up on Referral Detector in case you did not know. Might want to let people know about the original version.

    http://www.dailyblogtips.com/referrer-detector-...
  • Thaya Kareeson · 1 year ago
    @LGR
    Thanks for letting me know! I usually read Daily Blog Tips also, and I am quite shocked that Referrer Detector news made it to that blog before WP Greet Box does. I've emailed the Daniel (of DBT). Hopefully he will give my plugin a try and give an honest review between the two plugins.
  • Thaya Kareeson · 1 year ago
    Released version 4.2.3

    - Fixed bug that causes WP Greet Box to not work with sites with WordPress
    not installed in the root directory.
    - Changed donation URL.
  • Steven · 1 year ago
    I had problems where the Digg and Stumble URLs had extra referral info in them, thus, nit pointing to my page on those sites.

    I changes the following to fix.

    Line 541:
    $requri = $_SERVER["REQUEST_URI"];
    $realurl = ereg_replace("index.php.*", "", $requri);
    $url = ($isHTTPS ? 'https://' : 'http://').$_SERVER["SERVER_NAME"].$port.$realurl;

    This may not work for everyone.
    I am using SEO where I could remove everything after and including index.php.
  • Chris O'Rourke · 1 year ago
    Heyas, great plugin however it does cause issues with feeds. It's causing the blank line bug in my feedburner feeds making them totally unusuable. I'm guessing it has something to do with the php code that needs added to the theme.
  • Thaya Kareeson · 1 year ago
    @Chris
    Is this bug showing up in IE or FF or both?
  • Chris O'Rourke · 1 year ago
    Yeah it was showing up everywhere including most readers. It appears to be adding a blank line at the beginning of the xml file.
  • Thaya Kareeson · 1 year ago
    @Chris
    Can you please do me a favor and try modifying wp-greet-box.php line 641 from:

    if(($show_page && is_page()) || ($show_post && is_single())){

    to:

    if(is_feed() || ($show_page && is_page()) || ($show_post && is_single())){

    and see if the feed works for you?
  • Thaya Kareeson · 1 year ago
    Released version 4.3

    - Added ability to detect the visitor's search keywords from major search engines and automatically display related posts under the greeting message.
    - Fixed blank line bug in RSS feeds.

    REMINDER Make sure you deactivate then reactivate the plugin upon upgrade so you can get new options defaults.
  • Rudy · 1 year ago
    Hi Thaya,

    Thanks for this lovely plug-in.
    It means a lot for me since my blog's just established.

    Rudy
  • Thaya Kareeson · 1 year ago
    Awesome detective work @Steven! I will test this out and make the fix in the new version. Thank you!
  • Thaya Kareeson · 1 year ago
    Good luck Rudy!
  • Kelson · 1 year ago
    It's me again. Yeah, the guy with Wordpress installed somewhere other than the root of his website. And the greet box broke again with 4.3.

    Fortunately, changing "/index.php" to "index.php" in onload.js seems to work.
  • Thaya Kareeson · 1 year ago
    @Kelson
    Sorry about that. I thought I left it as index.php. I must've had an old version of onload.js somehow. Maybe I should move my blog to a sub folder :).
  • Thaya Kareeson · 1 year ago
    @Steven
    Can you please give me an example of a Digg and a Stumbleupon URL that has extra referral info in them? I'm trying to reproduce the bug, so I can test out these changes.
  • Christine · 1 year ago
    Great plugin! I'm having an issue right out of the gate though. I get this error where the greet box should be:

    fatal error: Call to undefined function site_url() in /home/******/public_html/pink/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 625

    Obviously the asterisks are mine. Any ideas? I've searched through the comments here and I don't see anything. Thanks in advance.
  • Thaya Kareeson · 1 year ago
    @Christine
    Are you using automatic greeting message insertion or manual (by putting <php? wp_greet_box() ?> into your theme). Also, what version of WordPress are you using?
  • Thaya Kareeson · 1 year ago
    Also, can you try modifying "site_url()" on line 625 to "get_option('siteurl')"? If this works, I will release a new version with this compatibility fix.
  • Thaya Kareeson · 1 year ago
    I just found out that get_option('siteurl') is the standard way of doing things:

    Released WP Greet Box version 4.3.2

    - Fixed site_url() compatibility.
  • Christine · 1 year ago
    Hi Thaya!
    Auto insertion and 2.5.1 - Ok, update, I upgraded to 2.6.5 and now it seems to work. Thank you and sorry.
  • Thaya Kareeson · 1 year ago
    @Christine
    No need for sorry! Thank for for reporting the bug. If you didn't report it then I wouldn't have known about this incompatibility.
  • Karen · 1 year ago
    Thanks for the great plugin, been using it for a couple of months now and have had visitors asking about it and have referred your site. Having a problem tonight though after upgrading to the latest version of Wordpress then the latest version of Greet Box. The GB no longer shows up. I have tried deactivating and reactivating with no luck. And no error messages or anything, just noticed when visiting from a site with 0 timeout like twitter.com it does not show up anymore. I am using manual insertion. Any ideas?
  • Thaya Kareeson · 1 year ago
    @Karen,
    If you try accessing this background link on my site

    http://omninoggin.com/index.php?wpgb_public_act...

    you will see a semi-greeting message.

    I tried accessing this background link on your site:

    http://mrsdealfinder.com/index.php?wpgb_public_...

    and I couldn't get anything back.

    I also confirmed that if I try to access:

    http://mrsdealfinder.com/index.php?wpgb_public_...

    so it works properly for default greeting messages.

    It looks like something is wrong with your .htaccess file. It is preventing WP Greet Box from accessing urls with referrer=http://twitter.com at the end.

    You can try to debug your .htaccess file on your end. On this end, I'll see what I can do to encode this URL value prior to passing it to the URL as a query to increase compatibility.
  • Karen · 1 year ago
    Thanks for the quick response. I looked at my htaccess file and it seems to be the normal Wordpress default:

    # BEGIN WordPress
    IfModule mod_rewrite.c
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    /IfModule
    # END WordPress
  • Thaya Kareeson · 1 year ago
    @Karen
    Can you please do me a favor and try changing onload.js from:

    "&referrer;="+document.referrer

    to:

    "&referrer;="+encodeURIComponent(document.referrer)

    and see if it works for you?
  • Thaya Kareeson · 1 year ago
    Released version 4.3.3

    - Fixed incompatibility on some web server setups which required URL escape.
  • lorenzo · 1 year ago
    Hi Thaya,hy all,
    great job,I'm 'SEO' satisfied about the use of this plugin,indeed.

    just a 'silly' question,given I (as many others) have not a English WP/site
    where shall I look for to change the: 'You were searching for' declaration ?
    Many thanks for your support.

    nice day
  • lorenzo · 1 year ago
    hi, I'm back with result,
    the cited (above) text is located on onload.js file.

    have a nice day
  • Karen · 1 year ago
    Hi Thaya, I just installed the update with the onload fix and still no dice. :( I am wondering if it has do do with another plugin, I am going to try deactivating some of the recent plugins installed to see. Thanks.
  • Karen · 1 year ago
    Me again, I was looking at my plugins, I tried deactivating the recent plugins installed and didn't see a change. Then I started looking at plugins that have recently been updated and I thought of the redirection plugin. It tracks 404s and I see that there are a bunch of weird 404s in there, that look a lot like what @LGR mentioned earlier. I deactivated the redirection plugin with no luck, also tried the solution you gave to @LGR of changing "index.php" to "/index.php" and that didn't work either, thought it might not because my blog is installed in the root. This is very weird, I can't figure it out.
  • Thaya Kareeson · 1 year ago
    @lorenzo
    Thanks for reporting back to the crowd. I haven't had to chance to make related posts more customizable yet, but it will be in the future.
  • Thaya Kareeson · 1 year ago
    I went to digg.com, used firebug to modify one of their links to one of your posts then clicked through. I was able to see the greeting message fine. How are you testing for this?
  • Karen · 1 year ago
    I have been testing from Firefox from Twitter.com because it has a 0 timeout. I just tried it from IE and Chrome and I see that it is working must be something with my Firefox. Sorry :) Thanks for your help!
  • Thaya Kareeson · 1 year ago
    @Karen
    No need for sorry! I encourage all discussions good & bad. That way I can shake out as many bugs as possible so people can run the plugin without a hitch.
  • lorenzo · 1 year ago
    Hi Thaya
    a strange (very) thing happen to the 'translated' text strings:
    on first page load they still appear in english,thereafter a click on 'see all/read more' them get magically translated,showing up my replaced text.
    a wp supercache 'conflict'?
    cheers
  • Rudy · 1 year ago
    Hi Thaya,

    Thanks for your reminder (back link) for the new released.
    I am updated it already.
  • Thaya Kareeson · 1 year ago
    @Lorenzo
    The initial text is actually supplied by wp-greet-box.php, search that file for "You were searching for" and you should find what you are looking for. I'll consolidate this later when I make this text customizable.
  • lorenzo · 1 year ago
    @ http://omninoggin.com/projects/wordpress-plugin...

    Hy Thaya,infact you are right :mrgreen:
    that file well 'hidden' below the PNGs
    did it!

    How did you know that? l.o.l.

    many thanks
    :lol:
  • Thaya Kareeson · 1 year ago
    That's because I coded the darn thing. Hehe
  • DealMakersBlog · 1 year ago
    Hello Thaya,

    I got this error and tried to reinstall it twice, please help.
    Thanks,
    Warning: stristr(): Empty delimiter. in /home/content/s/e/a/fortress/html/dealmakersblog.com/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 612
  • Thaya Kareeson · 1 year ago
    Released version 4.4

    - Added more default greeting messages.
    - Created and used my own set of free transparent icons.
    - Added support for wildcard referrers (*.fr, *.uk).
    - Added ability to specify multiple referrers per greeting message.
    - Adjusted default CSS again.
    - Fixed bug with stumbleupon & digg URLs that won't work on some sites.
  • Thaya Kareeson · 1 year ago
    @Sean,
    Version 4.4 should fix the issue you are having. Can you give it a try?
  • Alex · 1 year ago
    Hi Thaya,

    Great plugin, it's awesome thank you. After I upraded to 4.4 I get this message when I use Yahoo

    Warning: preg_match() [function.preg-match]: Unknown modifier '/' in /home/fxva24/public_html/wp-content/plugins/wp-greet-box/wp-greet-box.php on line 765

    Yahoo search http://xr.com/kew The 7th organic is mine
  • Thaya Kareeson · 1 year ago
    Released 4.4.1

    - Fix preg_match() error that occurs when there are slashes (/) specified in the referrer URL of each custom greeting message.
  • Thaya Kareeson · 1 year ago
    @Alex,
    Thank you for reporting this so that I can make a quick fix for everybody else. Version 4.4.1 should fix this issue.
  • Thaya Kareeson · 1 year ago
    @creativeherb,
    Version 4.4.1 should have this feature you are requesting. :)
  • Alex · 1 year ago
    Thank you Thaya, works fine now.
  • Eduardo Arcos · 1 year ago
    Hello,

    Nice plugin! seems like an elegant solution to send a message to search engine visitors to our blogs. I've tried to use the plugin on my blog with bad results. The problem is that in the area where the greeting message is supposed to load it loads the whole page.

    I've disabled the plugin, but here's a screenshot, maybe you can give me some pointers on the problem?

    http://skitch.com/earcos/6xgk/picture-1
  • Thaya Kareeson · 1 year ago
    @Eduardo Arcos,
    Looks like it's a site specific htaccess path issue. Let me resolve this with you through email so we don't expose any directory paths to the public.
  • Michael Garmahis · 1 year ago
    I can't figure out how to make your great plugin work. On one blog with Wordpress 2.6 it doesn't show up and another with 2.5 give me 'fatal error'
    Parse error: parse error, unexpected $, expecting '(' in ***/wp-greet-box.php on line 717
    BTW, is WP Greet Box compatible with Wordpress 2.7?
  • Thaya Kareeson · 1 year ago
    @Michael Garmahis,
    Sorry you are having issues with the plugin. Let's deal with these as separate issues:

    1.

    On one blog with Wordpress 2.6 it doesn’t show up


    What is the blog you are talking about? Can you enable WP Greet Box and give me the URL so I can check it out?

    2.

    another with 2.5 give me ‘fatal error’ Parse error: parse error, unexpected $, expecting ‘(’ in ***/wp-greet-box.php on line 717


    I'm looking at wp-greet-box.php line 717, but I cannot find any "$" anywhere. Do you have a modified version somehow? My line 717 looks like:


    extract(get_option(wpgb::get_name()));


    3.

    is WP Greet Box compatible with Wordpress 2.7

    I and some other people are using WordPress 2.7 right now with WP Greet Box. I haven't seen any bug reports specifically for WP 2.7 yet, so I'm assuming that there is no compatibility issue :).
  • Michael Garmahis · 1 year ago
    Hi Thaya,
    Thanks for your reply! Sorry it was my mistake. The plugin had not appear because Adblock Plus was enabled in Firefox. And the parsing error was solved by re-uploading file wp-greet-box.php again. Looks like it was corrupted.
  • Thaya Kareeson · 1 year ago
    @Michael Garmahis
    Good to hear that it's not my bug :). Too bad that Adblock Plus is too smart for my plugin though :(.
  • webmaster · 12 months ago
    Thanks for nice information really would be helpful
  • Hiram · 12 months ago
    Super plug-in! Only problem is that I can't seem to get it to show up on my site. If I View Source, I can see that the code is actually there. However, for some reason, nothing actually shows up on the page itself.

    I just upgraded to WP2.7 and I've got some Google Adsense and an Odiogo playback control button at the beginning of the post. Could that be causing a conflict? Note that I've also tried putting the Greet Box at the END of the post and can't get it to show up there either.

    Any suggestions?

    Hiram
    http://www.balance-your-health.com
  • Thaya Kareeson · 12 months ago
    @Hiram
    Sorry that you could not get this plugin to work for you. WP Greet Box
    front end (javascript) makes back end calls similar to the following
    when loaded:
    http://www.balance-your-health.com/72/balance-in-health/index.php?wpgb_public_action=query&visit_delta=14401&referrer=http%3A%2F%2Fdigg.com

    I visited this URL and your site returned a 500 error. When I tried to
    access:
    http://www.balance-your-health.com/72/balance-in-health/?wpgb_public_action=query&visit_delta=14401&referrer=http%3A%2F%2Fdigg.com

    Looks like something might be wrong with the .htaccess file, the
    WordPress adress or Blog address in your WordPress general settings, or
    the permalink settings. I'm not sure how your site structure is setup,
    but if you can modify your settings so that WP Greet Box can access an
    index.php then you should be fine.

    Also another thing worth trying is to modify your
    wp-greet-box/js/onload.js by changing "index.php" to "/". Totally
    untested, because I don't have your setup :(.

    Hope this helps!
  • kaiserlino · 11 months ago
    Hi...
    Absolutely i didn't find the reason it's not working.
    Maybe it's an issue with Mootols, but don't know really.
    If you knew any problem with it, i would love to know.
    Btw, i will update the blog theme and the new funcionality will use Jquery as framework.

    Thanks
  • Thaya Kareeson · 11 months ago
    @kaiserlino
    Sorry that you could not get this plugin to work for you. WP Greet Box front end (javascript) makes back end calls like the following when loaded:

    http://www.dkcell.com.br/design/2008/wallpapers...

    I visited the URL above, your site returned a 503 error. When I tried any of the following URLs:

    http://www.dkcell.com.br/index.php?wpgb_public_...


    http://www.dkcell.com.br/design/2008/wallpapers...

    it works fine. Something is definitely wrong with URL resolution on your server. Something could be wrong with the .htaccess file, the WordPress adress or Blog address in your WordPress general settings, or the permalink settings. I'm not sure how your site structure is setup, but if you can modify your settings so that WP Greet Box can access an index.php then you should be fine.

    Also another thing worth trying is to modify your wp-greet-box/js/onload.js by changing "index.php" to "/index.php". Totally untested, because I don't have your setup :(.

    Hope this helps!
  • JK · 11 months ago
    Hi Thaya,

    I found a bug with this plugin. I installed your plugin and followed by WP Super Cache yesterday. Everything seems to work fine from blog perspective. However when I posted a new content in my blog and a few hours later, Google indexed the post however it indexed the greeting messages as well. It doesn't look good because the first few lines are the actual greeting message from your plugin not the meta description that I defined.

    How do we prevent not to show the greeting box for spiders? Have you seen this issue before? Please help.

    Thanks, JK
  • Thaya Kareeson · 11 months ago
    @JK
    That is really up to the Google spider. Google is usually smart enough to spider things that only the user sees. For example, I've seen a black hat SEO technique where plugin authors embeds an invisible back link along with the plugin used (which leaks link juice to the plugin author's homepage). Google is smart enough to detect those and penalize them. I really wouldn't mess with trying to hide things from Google. If you are worried about your meta descriptions, you should just move WP Greet Box to the end of your post instead of the beginning.
  • JK · 11 months ago
    Thanks for a quick response.

    I've been using the landing site plugin for many years and never seen this problem before - and your plugin is based on that plugin. The only difference now is that I've started using the WP Super Cache plugin with your plugin only 2 days ago. So not sure whether this is WP Super Cache issue vs yours?

    Any other thoughts?
  • Thaya Kareeson · 11 months ago
    Interesting. How do you test this? Does the google search result for
    your page show up as "Hello Googler! ..."?

    Try googling "bash shortcuts beer planet" and clicking through (1st
    link) to my friend's site with WP Greet Box and WP Super Cache. I don't
    see WP Greet Box text in the meta data in the google results. Can you
    show me how to reproduce this?
  • marcO · 11 months ago
    Great Pugin. Totally worth trying it out. Unfortunately i got one incompatiblity with the feed statistics plugin from here http://www.chrisfinke.com/wordpress/plugins/fee.... Seems like the ref data is empty by some reason so greet box will not show up anymore together with this plugin. Maybe you have the chance to look this up?
  • Jeux Moins Chers · 11 months ago
    I'm gonna try it on my website! I saw this plugin in a discussion related to Ref Detect ;)
    Thanks !