Complete webapp
Tweaking 4 All Forum » Web Development
by lorik_11
1M ago
Hey people, I'm currently in the process of creating a web app with a developer. The idea behind it is extremely simple. A customer would like to track certain content creators or channels with specific keywords. For example, every time the content creator makes a post with the keyword x, the customer receives a notification via WhatsApp, Telgram or email with the post in a summarized version. The whole thing was actually supposed to be created for Twitter, Telegram, Discord and LinkedIn. Unfortunately, I've reached my limits with my financial means, but I don't want to just throw the idea aw ..read more
Visit website
WPForo - How to tag all topics as "Solved" (SQL)
Tweaking 4 All Forum » Web Development
by Hans
2M ago
For those webadmins who would like to tag all topics as "solved", you can do this straight in the database: UPDATE `wp_wpforo_topics` SET `solved`=1 (where "wp" is the prefix for your WordPress database) Don't forget to "Delete All Caches", "Clean Up" and "Update xyz Statistics" in the forum maintenance, to make this change visible. (I think "Delete All Caches" already is enough ..read more
Visit website
HTML Radio buttons
Tweaking 4 All Forum » Web Development
by andries
5M ago
Since yesterday my Chrome and Edge browsers do not display radio buttons, but Opera still does. Any ideas ..read more
Visit website
Pre-Selecting Tabbed Menu Items on PHP Page
Tweaking 4 All Forum » Web Development
by
7M ago
I’m a UX designer who has to do some web development on a vendor’s platform. The vendor’s system is php and frequently uses iframes to place content, so I spend a lot of time trying to find ‘creative’ solutions to pages I have to build myself. I’m creating a basic css tab menu. I need to be able to link users to this page with specific tabs open for different use cases. Our vendor says they can’t help us with this “because it’s a php page”. I feel like this should be possible, but I don’t have deep dev knowledge. Stripped down example: https://studiotoolkit.dmplocal.com/sites/4054/tabsfor ..read more
Visit website
Using mail function to send multiple attachments in php
Tweaking 4 All Forum » Web Development
by
7M ago
Hi need help with my code, its not sending any attachment to any document, i have been struggling for almost a week no with no progress at all. This code does not work 100% because it only send an empty email with no header and attachments.   //code to send multiple attachment and email with pdf <?php /** Mail with attachment */ function mail_attachment($filename, $path, $mailto, $from_mail, $from_name, $replyto, $bcc, $subject, $message){ $uid = md5(uniqid(time())); $mime_boundary = "==Multipart_Boundary_x{$uid}x"; $header = "gcobani.mkontwana@agilelimitless.org.za: ".$from_name ..read more
Visit website
Engineering work on the project
Tweaking 4 All Forum » Web Development
by
7M ago
Hi! Would you choose to work on a project with a compensation based on results (extra bonus for achievements and reduced base for failed project)? Taking in account that individual commitment and results will be measured ..read more
Visit website
Wordpress - Fix Error Allowed memory size exhausted
Tweaking 4 All Forum » Web Development
by Hans
7M ago
Running into the error "Fatal error: Allowed memory size of ... bytes exhausted (tried to allocate ... bytes) in /path/to/wp-includes/some.php on line xyz" ? Note: I had my page cut off for no obvious reason. In a case like that I usually first look in Console log of my browser (eg. F12 in Google Chome) to see if something obvious can be seen there. If that doesn't clarify anything, then I briefly enable the debugging in Wordpress, by changing or adding these settings in the wp-config.php file in the root of your Wordpress directory: Enable debugging: /* define('WP_DEBUG', false); define('WP_ ..read more
Visit website
Wordpress - Codecolorer - Fix create_function() is deprecated error when moving to PHP 8.x
Tweaking 4 All Forum » Web Development
by Hans
7M ago
When moving my website from PHP 7.x to 8.x, the CodeColorer plugin that I use, started crashing saying that "create_function() is deprecated" (see also PHP manual where I also found how to make a fix for this issue). Thank goodness, the fix wasn't super difficult. In this file /wp-content/plugins/codecolorer/geshi.php Goto line 4697 and look at the "if" statement. if (!isset($callback_2)) { $callback_2 = create_function('$matches', 'return "[" . str_replace("|", "", $matches) . "]";'); } which I changed (line 4698) to: if (!isset($callback_2)) { // old: $callback_2 = create_function ..read more
Visit website
WordPress - How to update wordpress and add-ons without FTP access
Tweaking 4 All Forum » Web Development
by Hans
7M ago
By default, Wordpress expects to have FTP access so it can download and install updates. This is all nice and dandy for a server where you already have FTP access, but this may not be the case on your (test)server. Note : See this StackExchange topic if there should be security concerns when using this method on your production server. Short version: avoid if possible on production servers, and if you decide to use it, then be very careful when using this method, since the slightest miss configuration of your server may come with undesired consequences. Anyhoo ... back to how we can get around ..read more
Visit website
Pop up from JavaScript
Tweaking 4 All Forum » Web Development
by
7M ago
Hi, So I’ve got a JavaScript which displays a 300x250 banner. I have a script that once the banner loads on a website, the script executes and loads a pop up overlay.   but I can’t make the frame inside the pop up load a website.   I have this problem;   The reason for this is, that Google is sending an "X-Frame-Options: SAMEORIGIN" response header. This option prevents the browser from displaying iFrames that are not hosted on the same domain as the parent page. ^^ anyone got a work around ..read more
Visit website

Follow Tweaking 4 All Forum » Web Development on FeedSpot

Continue with Google
Continue with Apple
OR