-
Posts
310 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Everything posted by maddog107_merged
-
@Michael.J Since I paid for the custom development/creation of "Topic Attach Thumbnails" by any chance could you send me an updated version that works with 4.5? I see it on the marketplace but I haven't been able to get in touch via PMs. Thanks.
-
@Stuart Silvester ^ Any update on ES7 support?
-
Instagram and Facebook oEmbed support topic
maddog107_merged replied to rebraf's topic in Marketplace
Can anyone confirm if it works with 4.4.x? -
Instagram embeds not working
maddog107_merged replied to Jordan Miller's topic in Technical Problems
@rebraf By any chance does this work on 4.4.x? -
Instagram embeds not working
maddog107_merged replied to Jordan Miller's topic in Technical Problems
Sorry, there is a problem We could not locate the item you are trying to view. Error code: 2D161/2 -
Mine is 713G ibf_core_output_cache.ibd Just in case someone is wondering how to fix. If you are using Innodb and a file per tablespace is turned on you can do MariaDB [bellazon_v4]> optimize table ibf_core_output_cache; +-----------------------------------+----------+----------+-------------------------------------------------------------------+ | Table | Op | Msg_type | Msg_text | +-----------------------------------+----------+----------+-------------------------------------------------------------------+ | abc_v4.ibf_core_output_cache | optimize | note | Table does not support optimize, doing recreate + analyze instead | | abc_v4.ibf_core_output_cache | optimize | status | OK | +-----------------------------------+----------+----------+-------------------------------------------------------------------+ 2 rows in set (12.177 sec) It dropped down to 340 MB!!!!! 340M Dec 8 10:57 ibf_core_output_cache.ibd
-
Essentially sometimes our content is NSFW and Google Adsense does not like it when we show ads when there is that content. What I think I need is a DB query (or flag of some kind) which will not put this in the HTML (GlobalTemplate - <body> section). <script data-ad-client="ca-pub-6991445029332292" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> So how I *think* it should work, is grab the URL, figure out what posts would be included on this particular page and then just search for the NSFW column we have in a table, and if adult<=3 on all of them it would print the code above in the <head> otherwise don't print anything. Here is a rough query I wrote that would accomplish this SELECT adult FROM zzz_ibf_core_attachments WHERE attach_id IN (SELECT attachment_id FROM `ibf_core_attachments_map` WHERE `id2` IN (SELECT * FROM (SELECT pid FROM `ibf_forums_posts` WHERE `topic_id` = 60196 and pid>=4518005 limit 20) temp_tab) ) Essentially its grabbing the first 20 posts from the topic 60196 starting from post 4518005 and then figuring out all the attachments associated with those posts and then joining to zzz_ibf_core_attachments which is where i have the "adult" column which is 1-5 where 4 or 5 is NSFW. Here is the result from the query above. adult 1 1 1 1 1 1 1 1 2 2 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 So in that case its OK to show ads, if any one of those is >=4 then we should not show the code. Please let me know if you think you could be of assistance and how much it would cost. Thank you. James
-
What CDN are you using with IPS? Why?
maddog107_merged replied to pequeno's topic in Classic self-hosted technical help
cloudflare because of costs. Moving anywhere else to serve 30TB/mo is not feasible 😞 -
Thanks for all the info in this post. We got banned from SES because of (I assume) this bug. They sent around 16k emails in an hour or so. Hopefully it will go back to normal after disabling this.
-
Mail Bouncer - Automated Bounce Management
maddog107_merged replied to stoo2000's topic in Marketplace
Just enabled SES. Fingers crossed. Thanks! -
Seems like a good idea if its such an easy change.
-
Mail Bouncer - Automated Bounce Management
maddog107_merged replied to stoo2000's topic in Marketplace
I sent you a PM but I would like to test as well. Thanks -
Mail Bouncer - Automated Bounce Management
maddog107_merged replied to stoo2000's topic in Marketplace
Is there an estimated release date with SES support @stoo2000 ? -
Mail Bouncer - Automated Bounce Management
maddog107_merged replied to stoo2000's topic in Marketplace
Hows the testing going @AlexWebsites -
Mail Bouncer - Automated Bounce Management
maddog107_merged replied to stoo2000's topic in Marketplace
Great news 🙂 -
@bfarber @Stuart Silvester Any update on ES7 support?
-
Mail Bouncer - Automated Bounce Management
maddog107_merged replied to stoo2000's topic in Marketplace
I am moving to SES in the next day or two. Finally go the email from Sparkpost. Going from ~80/mo -> $170/mo if I stuck around. SES should be ~$30. They requested I setup Simple Notification Service (SNS) in order to increase my limit to the 20k/day emails. Not sure if your app would have some sort of API that could suck in the SNS messages and process them. Im willing to chip in some $ if that would make the project move faster. Feel free to PM me. Thanks! -
Joel, was this mostly to save cost or have you seen any performance difference? We have our own server and some 7TB of images. We are on the cloudflare business plan so a lot of our content is already cached. The only benefit I could see would be that say europe based user hitting some "old" content which is not cached in Cloudflare would have to get the content from west coast USA. Would there be any additional benefit I am missing?
-
sent in PM
-
@onlyME the guys here at IPS support were helping me with another issue and they believe it may be caused by this plugin. I have a ton of errors in the system logs: Error: Call to a member function html() on null (0) #0 /var/www/html/bellazon.com/main/applications/forums/modules/front/forums/topic.php(119): IPS\Content\_Item->commentForm() #1 /var/www/html/bellazon.com/main/init.php(448) : eval()'d code(18): IPS\forums\modules\front\forums\_topic->manage() #2 /var/www/html/bellazon.com/main/system/Dispatcher/Controller.php(97): IPS\forums\modules\front\forums\hook211->manage() #3 /var/www/html/bellazon.com/main/system/Content/Controller.php(51): IPS\Dispatcher\_Controller->execute() #4 /var/www/html/bellazon.com/main/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute() #5 /var/www/html/bellazon.com/main/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute() #6 /var/www/html/bellazon.com/main/index.php(13): IPS\_Dispatcher->run() #7 {main} #0 /var/www/html/bellazon.com/main/init.php(512): IPS\_Log::log('Error: Call to ...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(Error)) #2 {main} This is on 4.1.19 The URL of page the error occurred on was https://www.bellazon.com/main/topic/29353-sara-sampaio/?page=719
-
Ok, I got it working now. Ill put this here in case anyone has similar needs in the future, simply remove the "width and height" attributes and replace them with some CSS. <img src='{$topic->tthumb_show()}' id='tthumb_{$topic->tid}' class='tthumbimg' style='max-width:{$w}px; max-height:{$h}px;'>
-
I added that to both the if / else statement and they still show up smushed. {{endif}} <img src='{$topic->tthumb_show(1)}' id='tthumb_{$topic->tid}' class='tthumbimg' width='{$w}px' height='{$h}px'> </a> </div> {{else}} <div class="bim_tthumb_wrap"> <a {{if $topic->canChangeThumbnail() || member.member_id}}href='#tthumb{$topic->tid}_menu' data-ipsMenu id='tthumb{$topic->tid}'{{else}}href='{$topic->url()}'{{endif}} {{if settings.bim_tthumb_onhover == 1}}data-ipstpopup data-ipstpopup-width='280' data-ipstpopup-target="{$topic->url('tthumbGetImage')}"{{endif}}> <img src='{$topic->tthumb_show(1)}' {{if $topic->upload_thumbnail}}data-full="{file="$topic->upload_thumbnail" extension="forums_topicThumbnail"}"{{endif}} id="tthumb_{$topic->tid}" class='tthumbimg' width='{$w}px' height='{$h}px'> </a> Did I do something wrong? Any guidance is appreciated. Thanks.
-
@onlyME So I like the Gallery Mode (see attachment) but I would like for that to be a user option, so just like the show/hide button, there should be like a "gallery view" or "regular view" button to switch between the Masonry layout and the "regular" layout with thumbnails in a list.
-
Also is it possible to create a button for "gallery mode" just like you have a button for Show/Hide thumbnails? I would like it to default to off but if members want to switch it on for themselves they can click a button.