Inspirationally

Some solved Listing Admin Bugs

Listing Admin is great, but there are some bugs. Here the solutions:

Error: When trying to delete a joined listing, clicking the delete button under “action” shows this error:
Fatal error: Call to a member function cleanMys() on a non-object in /home/user/public_html/listingadmin/joined.php on line 512

Solution:

in joined.php in line 512, find

$id = $listingadmin->cleanMys($_GET[‘d’]);

replace it with

$id = $tigers->cleanMys($_GET[‘d’]);

 

Error: the pagination on the joined page does not work

Solution:

around line 222 change

if($pages > 10) {

to

if($pages > 1) {

around line 202 ff. change to

$this->range = 10;
$this->page = !isset($_GET[‘p’]) || !is_numeric($_GET[‘p’]) ? 1 :
$tigers->cleanMys($_GET[‘p’]);
$this->next = $this->page + 1;
$this->prev = $start – 1;

around line 230 change

if($this->page != 1) {

to

if($this->page != 1 && $this->page > 6) {

 

 

Error: mysqli depracated warnings in error_log

To solve this mysql issue, you can put this into your jac.inc.php instead (unfortunately you can’t just simply replace all mysql with mysqli), from

/**

* Get MySQL link!
*/
till the very bottom of the file, put this:

/**
* Get MySQL link! (updated to mysqli by inspirationally)
*/
$connect = mysqli_connect($database_host, $database_user, $database_pass,$database_name)
or die(‘<p><span class=”error”>Error:</span> You cannot currently connect to MySQL.’ .
‘ Make sure all variables are correct in <samp>rats.inc.php</samp>; if it is a random’ .
‘ error, wait it out and see if it\’ll magically disappear.</p>’);
$database = mysqli_select_db($connect,$database_name)
or die(‘<p><span class=”error”>Error:</span> You cannot currently connect to your database.’ .
‘ Make sure all variables are correct in <samp>rats.inc.php</samp>; if it is a random’ .
‘ error, wait it out and see if it\’ll magically disappear.</p>’);

/**
* Aaaaaa-aaa-and run query~!
*/
$select = “SELECT `text` FROM `$_ST[options]` WHERE `name` = ‘adm_path’ LIMIT 1”;
$true = mysqli_query($connect,$select);
if($true == false) {
exit(“<p class=\”errorButton\”><span class=\”error\”>ERROR:</span> Unable to select the specified option.” .
” Make sure your options table exists.</p>\n”);
}
$getItem = mysqli_fetch_array($true);
define(‘STPATH’, $getItem[‘text’]);
?>

Switching from Sellfy to Easy Digital Downloads

With selling some themes, scripts and plugins not to make a life, but to get in a bit of the domain and webspace costs of fansites and collectives, the fansites world was shocked, when sellfy introduced their new 15$ the month professional plan with the addition

P.S. Professional plan will apply to all new users right away. You will be able to enjoy the old pricing until the end of the year – Dec 31st, 2016 or upgrade at any time.

With 15$ being not even the revenue of a whole year this is of course insane and eliminates hobby theme/script coders from further participation there.

Which is the reason why I decided to switch to Easy Digital Downloads before the year ends and share with you how to do this. (more…)

Affiliationally WP Shortcodes

This is, additionally to the shortcodes section in your WordPress affiliationally section, a detailed description with examples of the Affiliationally shortcodes you can use in your site. (more…)

Affiliationally WP instructions (install, import and use)

Here some detailed instructions on how to install, import and use the Affiliationally WP plugin

(more…)

Style Affiliationally WP

CSS Tricks

You can add css code to your theme’s style.css to style the affiliate links in a certain way. These are just some examples of what is possible, and it depends on your theme’s css to get them working. (more…)