Jump to content

13511

Members
  • Posts

    1,689
  • Joined

  • Last visited

  • Days Won

    105

Everything posted by 13511

  1. Well, looks like this version of the add-on may have a buglet. [ATTACH=full]285._xfImport[/ATTACH] The only one on that list that I have banned is JLPHOST.
  2. Well, I'm trying something new.. instead of hitting him with one of my XenForo sites, I've got both running it. Or at least one hits his site and the other checks my Serving Linux site to make sure there is no IP blocking interference.
  3. OK.. well, after the 5 minutes it's looking like it's showing banned for most now. [ATTACH=full]284._xfImport[/ATTACH]
  4. That's one of the reasons I like messing with this kind of stuff when the mood hits (and for some reason, I'm in a testing mood - thinking about grabbing another server just to play with OS's and mail subsystems on if I don't do a colo on my R610 I have at the house).
  5. Hey, @SneakyDave, only issue I'm seeing is that the green arrows (which I'm "assuming" means valid) are showing a restricted status on a hover over them.
  6. If fact, just so that there isn't a "well, you have the same ones he does and it does "X or Y" I used a few more existing users. Sure looks like it's scraping the data to me. [ATTACH=full]283._xfImport[/ATTACH]
  7. And with the install/update here is what it shows [ATTACH=full]281._xfImport[/ATTACH] So, if Gary wants to play, he can compare it here and at The Bent Bike. I'll only be leaving it active for a day or so. It has a 5 minute refresh active on it.
  8. Heck.. I'm just a nice guy like that. :imp:
  9. Oh, no hurry. As a disinterested 3rd party I just wanted to provide a different place to either prove or disprove that it was working. :p
  10. @SneakyDave - have you tried it without mapping to existing members? I'm trying it out on one of my sites and have the cache set at 5 minutes. Names are there but the status hasn't pulled in and wondering if it is due to no mapping to existing name on the site I'm trying it on? [ATTACH=full]279._xfImport[/ATTACH] [ATTACH=full]280._xfImport[/ATTACH] EDIT: Ooohh.. wait, I may need to open outbound port 80 on the server. EDIT 2: Nope, already done # Allow outgoing TCP ports TCP_OUT = "993,995,465,587,1012,1110,1194,2049,9418,20,21,22,25,53,80,110,113,443"
  11. Just so Gary/GTB can rest his mind - and since I'm not joining YAS (yet another site) just to post the code segments Pretty sure this is the code segment that retrieves the user listing from a WBB site (BTW, there are indicators that the data IS cached) if(empty($gtbms_cache['members'])) { // Get a page with a list of user names on it. if(!$thepage = str_replace("\n", "", @file_get_contents(XenForo_Application::get('options')->smgtbms_memberlist_url))) { $thepage = null; } $gtbms_cache['selected_members'] = $option_array; // What to look for in the page string to determine a user's status. $pattern = '/(?<=title="MEMBER")(.*)(?=\Show Points of MEMBER)/'; // Loop through the list of names we're looking for, find them, and assign a // status to them in the $option_array array. for ($x = 0; $x < count($option_array); $x++) { // If there is no "local" name for the member, use GTB's name if (empty($option_array[$x]['local'])) { $option_array[$x]['local'] = $option_array[$x]['gtb']; } $member_pattern = str_replace("MEMBER", $option_array[$x]['gtb'], $pattern); $result = preg_match($member_pattern, $thepage, $matches); // Assign the member's status to the $option_array array if ($result) { if (strstr($matches[0], 'Restricted')) { $option_array[$x]['status'] = 'Restricted'; } elseif (strstr($matches[0], 'Banned')) { $option_array[$x]['status'] = 'Banned'; } else { $option_array[$x]['status'] = 'Member'; } } else { $option_array[$x]['status'] = 'Not Found'; } } $gtbms_cache['members'] = $option_array; $gtbms_cache['cache_create_tm'] = time(); XenForo_Application::setSimpleCacheData('gtbms_cache', $gtbms_cache); and this is the XML phrase segments that configures the ACP options (where you can set the members names to look for and the URL of the site <phrase title="option_group_smgtbms" version_id="1" version_string="01.00.00"><![CDATA[solidMean GTB Member Status]]></phrase> <phrase title="option_group_smgtbms_description" version_id="1" version_string="01.00.00"><![CDATA[Configuration options for the GTB Member Status Add-on]]></phrase> <phrase title="option_smgtbms_cache_time" version_id="1" version_string="01.00.00"><![CDATA[Cache Lifetime]]></phrase> <phrase title="option_smgtbms_cache_time_explain" version_id="1" version_string="01.00.00"><![CDATA[How long (in minutes) to cache the list of users.]]></phrase> <phrase title="option_smgtbms_gtb_users" version_id="1" version_string="01.00.00"><![CDATA[Member Map]]></phrase> <phrase title="option_smgtbms_gtb_users_explain" version_id="1" version_string="01.00.00"><![CDATA[The list of members that are requested from the WBB site, one on each line. If the members from the WBB site have an accompanying userid on "this" site, add an equation symbol to the line. For example, "tool = バイス" would mean that the WBB userid is "tool", and his corresonding userid on this site is バイス.]]></phrase> <phrase title="option_smgtbms_memberlist_url" version_id="1" version_string="01.00.00"><![CDATA[Member List URL]]></phrase> <phrase title="option_smgtbms_memberlist_url_explain" version_id="1" version_string="01.00.00"><![CDATA[The URL to a publicly available member list from a Woltlab Burning Board installation. Defaults to http://general-discussion.com/members-list/]]></phrase> <phrase title="SolidMean_gtbms_member_status" global_cache="1" version_id="1" version_string="01.00.00"><![CDATA[GTB Member Status]]></phrase>
  12. One of my favorite games.. and found the song!
  13. Take my word for it... I can be very scary if needed. You are just used to looking in the mirror and seeing the Pillsbury Doughboy.
  14. Nope.. spent it dealing with wanna-be bad-asses (that would shit themselves when you said boo to them) like I'm responding to. Also, they make it really easy now for people with your issues to get help - I'd actively encourage you to utilize their facilities.
  15. I just take his comments into consideration. In my lengthy law enforcement time I received much training on dealing with the mentally ill/incompetent.
  16. This what we be listening to tomorrow...
  17. Which Bookmarks addon? If it was the one by Daniel Hood then I think I had to do a template edit to get it to work - but I'd have to find my notes again to be sure since I removed that add-on.
  18. Yeah, colored speech bubbles are real original. ;) Guess we may have to give him a D+ on the text.
  19. Well, maybe you could show some originality since it's apparently lacking in your site. Stolen content, stock style. Is there anything original about it? Can't be that it's ran by someone with DID as I'm sure there are already some others like that.
  20. here... just for you so you don't feel so ignored [ATTACH=full]225._xfImport[/ATTACH] [ATTACH=full]226._xfImport[/ATTACH] [ATTACH=full]227._xfImport[/ATTACH] [ATTACH=full]228._xfImport[/ATTACH] [ATTACH=full]229._xfImport[/ATTACH] BTW, feel free to steal borrow them to implement on your forum like you do with posts.
  21. At last one of us posts his age... the other posts like a ten year old throwing a tantrum... and that one's name rhymes with Mary. You know, the nursery rhyme mary, mary, quite contrary.
  22. Why. It's WAY to much fun to pick at you - although in a battle of wits you would be weaponless.
  23. Why, you wouldn't understand it. It would have to be written in idiocy.
×
×
  • Create New...