rajlaksh
Forum Replies Created
-
Forum: Plugins
In reply to: [Spot.IM - Everywhere Social Network] Where is Live Chat groupSame Problem here.
I follow docs but its not showing after putting Universal Code it show but not what i wanted ??
I’m debugging and found it is an empty element. so nothing will show ??
Forum: Hacks
In reply to: unable to access wpdbI changed whole query to $wpdb. not its working.
Forum: Themes and Templates
In reply to: how to find my theme?Thanks for fast reply @steveowens
Forum: Themes and Templates
In reply to: how to find my theme?hahhahahahaha.
Its not for website. Its for www.ads-software.com/themes/ directory.
Forum: Fixing WordPress
In reply to: Keeps asking me to upgrade to 3.7.1Yes, wordpress automatic update will install en_us version but u’r running other language. Maybe that problem.
Forum: Fixing WordPress
In reply to: "Allowed memory size exhausted" errorIts due to plugin. Its calling some wrong queries thats why its showing that error.
Forum: Fixing WordPress
In reply to: Keeps asking me to upgrade to 3.7.1Its due to permission apache unable to overwrite CORE files. Try using change directory permission.
chown -R apache:apache /home/public_html
Note: /home/public_html === complete path of wordpress
what error says
its can’t find its MAIN CORE FILE.
wp-load.php
Re-upload that file then try.
Forum: Fixing WordPress
In reply to: WordPress Fatal Error Failed To Open Streamreupload file.php in wp-admin/includes/ folder and that fatal error will gone.
Forum: Themes and Templates
In reply to: Non-Printable characters?i fixed it . I delete comments.php and re-insert all code in new file and fixed.
Forum: Hacks
In reply to: unable to access wpdbMy ajx.php located in root of wordpress where wp-load.php located.
my PC and Web Site has same version of MySQL . php 5.4 in PC and php 5.5 in Web Site.
Here is code of my file
<?php error_reporting(E_ALL); ini_set('display_errors', 1); if(empty($_REQUEST['term'])){ echo "[ ]"; die(); } else { include('wp-load.php'); global $wpdb, $kommiku, $series; $autocomplete_value = mysql_real_escape_string($_REQUEST['term']); $table = $wpdb->prefix."comic_series"; $select = "SELECT * FROM <code>".$table."</code> WHERE title COLLATE UTF8_GENERAL_CI LIKE '$autocomplete_value%' ORDER BY <code>title</code> limit 20"; $query = mysql_query($select); if($query === FALSE) { die(mysql_error()); // TODO: better error handling } while($row = mysql_fetch_array($query)) { $results[] = array('title' => $row['title'] , 'slug' => $row['slug'] , 'cat' => $row['categories'] , 'img' => $row['img'] ); } echo json_encode($results); die(); } ?>
That code working fine in My PC with 3.9.1 version . but in Website got that error.
warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO)
Forum: Fixing WordPress
In reply to: Categories same as beforei was said i’ve 600+ categories .
How to scroll to that category which my post need.
In Tag its easy to search that tag but for Categories difficult to reach that categories because lots of scroll.
Forum: Fixing WordPress
In reply to: How to bridge wordpress with phpbb?Try using phpBB to wp connector.
https://danielx64.com/2014/05/phpbb-to-wp-connector-1-5-is-now-out/
Forum: Plugins
In reply to: [Kommiku] Manga of the weekHere it is Short code one. Place it in kommiku.php file.
Its daily based.add_shortcode( 'kommiku_manga_of_the_week' , 'manga_of_the_week' ); function manga_of_the_week() { require_once(KOMMIKU_FOLDER.'/admin/database.php'); $db = new kommiku_database(); $motw = $db->chapter_update_list(); if($motw) $i = 0; foreach ($motw as $item) { $i++; $theLIST .= '<table><tr><td><a href="'.HTTP_HOST.KOMMIKU_URL_FORMAT.'/'.$item->series_slug.'/">'.$item->series_name.'</a></td></tr><tr><td>Summary:</td><td>'.$item->series_summary.'</td></tr> </table>'; if($i > 0){break;} }; return $theLIST; }
Now edit database file. Add this function
function manga_of_the_week() { global $wpdb; $chapterUquery = "SELECT c.id as id, c.title as series_name, c.slug as series_slug, c.title as title, c.slug as slug, c.img as series_cover, a.slug as latest_slug, a.pubdate as last_update, c.chapterless as chapterless, c.status as status, c.summary as series_summary, c.categories as series_cat FROM <code>".$wpdb->prefix."comic_chapter</code> a, (SELECT series_id, max(number) as number FROM <code>".$wpdb->prefix."comic_chapter</code> GROUP BY series_id) b, <code>".$wpdb->prefix."comic_series</code> c WHERE b.series_id = a.series_id AND b.number = a.number AND b.series_id = c.id ORDER BY RAND(DAYOFWEEK(CURRENT_DATE)) Limit 1"; $manga_of_the_week = $wpdb->get_results($chapterUquery); return $manga_of_the_week; }
Forum: Plugins
In reply to: [Kommiku] Multiple Page UploadingAdd this code in list_pages.php.
then go to chapter and upload batch files.