NIKMOB AutoIndex - V.2.3

Started on the old forum in June 2012 · view the original in the archive · old links redirect here

#autoindex #autoindexer #nikmob #script #version2.3

61 replies · 10,589 views · started 14 years ago · 1 min read

TL;DR · summary of 61 replies
  • razib is facing an issue with mysqli::free() method not being defined.
  • The fix for the mysqli::free() error involves removing line 60 in /public_html/go/_Class/Database.php.
  • To resolve the file preview and missing files/folders issue, users are advised to clean deleted files from the database manually or use a script provided by StunningNick.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

17 participants
StunningNick Junior · 40 posts #1

>>>>>>>>>> WHATS NEW || IMPROVEMENTS <<<<<<<<<<

  • MORE & MORE OOPS
  • Real Quick Setup
  • Minimal CPU & Server Resource Usage ( Reduced Upto 2x compared to previous release );
  • Can Handle Over 1400+ Online Users on Hostgator Baby Plan (@ max 10% cpu usage TESTED);
  • Maximum Use Of 2 MySQLi Queries After 1st Execution ( for previous it was 3 );
  • 90 % JAR Previews
  • ORDER BY Latest , Name ( ASC - DESC ); , Views
  • Uses PharArchive Native php library function for thm preview generation
  • EASY Customization Ever Possible, By Editing just 10-12 lines Site Will Be Online
  • Supports Download of Gif Animations can be configured using boolean value true/false ( Default : true );
  • News/Update Feeds
  • Top 21 Files || LAST ADDED Files || Now Downloading
  • Easy Pagination
  • Improved Search Result , Try's to get best out of it
  • Session Cached Sql Records to reduce Re-Query, unless user repeat same action (Search Only);
  • Shift from : MySQL to MySQLi ( Fast , Secure , Object Oriented , More.. );
  • Fastest Recursive Directory Scanning ( * Sea 30,000 files timed out in 30 seconds , * Php native RecursiveDirectoryIterator 90,000 files 30 seconds 5/4 once timed-out , * This-> 1,20,000 files 27 seconds Done ! );
  • Better Error Handling
  • NIKMOB's Default front-end but not Admin Panel
  • ADMIN PANEL BEST EVER comparing previous release ( but not NIKMOB's , sorry 😀 );
  • RENAME , REPLACE File/Directory Name(s) without touching real file name ( * Support Downloading File with changed name );
  • THERE IS NOTHING OLD 😛
  • Complete Code Re-written
  • No more headache changing username & password
  • SEXY APANEL login 😉
  • MySQL Statistics ( Just for Fun 😀 );
  • SEO FRIENDLY VERSION ( .html );
  • SEARCH BY TYPE

>>>>>>>>> REQUIREMENTS <<<<<<<<<<

  • PHP 5.3.x +
  • HTACCESS SUPPORT
  • MYSQL 4.x +

>>>>>>>>> INSTALLATION <<<<<<<<<<

  • Copy all files to script/files directory
  • Create Database with Username , Password from Host Admin Area
  • Goto created Database using PhpMyAdmin
  • Under Import option , upload included nikmob_database.sql file
  • editting ( * index.php & apanel/index.php & __Class/Controller.php, $site_path_variable - with your-site.com/script & Database.php & IndexModel.php Database Details );
  • At-least 1 Directory in files directory & 1 News / Update Feed is required for front-end to be visible
  • if you're on hostgator server add this line in .htaccess file "AddType application/x-httpd-php53 .php"
  • Default Username : "nikmob" & Password "passkey" without double quotes
  • Change username & password in at Script/__Class/Controller.php on line no.74

>>>>>>>>> SHORT GUIDE 1 <<<<<<<<<<

  • [R] - RENAME
  • [RP] - REPLACE A KEYWORD FROM FILE(S)/DIRECTORY(S) WITH ANOTHER OR BLANK ( note for files you need to include extension )
    • SCANS SELECTED ID DIRECTORY FOR NEW FILES
  • [P] - CUSTOM PREVIEW RECURSIVE FILE(S)/DIRECTORY(S)
  • [PM] - FILE PREVIEW GENERATION ACCORDING TO SELECTION OF TYPE ( * CLEAN WILL DEBRIS PREVIEWS THAT DOES NOT EXITS );
    • UNDO PREVIEW , BACKLINK , NAME & COUNT

>>>>>>>>> SHORT GUIDE 2 <<<<<<<<<<

  • Upload default filetype previews with extension .jpg in thumbs directory (eg:- mp3.jpg , 3gp.jpg , nth.jpg);
  • You need to grab stylesheet & other external files from my site as they are not included or just get yours ( thats better i guess );

>>>>>>>>> WHATS REMOVED <<<<<<<<<<

  • ANDROID PDF , WORD FILE , OPEN OFFICE , SWF FILE PREVIEW GENERATION
  • MP3 AUTO-TAGS
  • NIKMOB's Default Admin Panel
  • Cache System
  • 1 Server 1 Admin Panel, Manage Mutliple Sites with using same or different files or both ( some of this can still be done with little sense of humour );
  • Why -> * CAUSE I AM SELFISH, AM I *

>>>>>>>>> WHAT I NEED IN RETURN <<<<<<<<<<

  • Mail me "error_log" files or any error/bugs you faced at : id will be displayed as notification when error occured .
  • Your requests highly appreciated 🙂
  • A Thanks Appreciated only if you find this script worth of it 🙂

DEMO : VipKing.In :: Free Mobile Ringtones, Wallpapers, Games, Themes, Softwares, Video, MP3, Wav, Polyphonic, Old Songs, Romantic Hindi Music, Instrumentals, English, Tamil, Telugu, Malayalam MP3 Songs download, to download.. Free SMS, Mobile Tricks, Mobil

Don't think i am bad , i used to be too good one time...

Wintch Developer · 68 posts #2

@stunning plz could u share me the ccs file of that nikmob. tanx

Ghost Senior · 366 posts #3

Wintch wrote: @stunning plz could u share me the ccs file of that nikmob. tanx

really not hard to get.

for future reference's

go to site you want. view source. find code that looks like this

<link href="http://vipking.in/customizationFiles/styles.css" type address to css file into address bar. view and get result.

heres result from demo link pasted from original poster.

body 
	{
	margin:0px; 
	padding:0px;
	font-family:verdana,"Comic Sans MS",Helvetica,sans-serif;
	font-size:13px;
	color:#000000;
	background-color:#ffffff;
	}
.ad { padding: 3px 5px; }
.head { }
.search { background-color: #f4f4f4; padding: 3px; margin: 1px 0px; }

a img,:link img,:visited img
	{
	border:none;
	}

a:link
	{
	text-decoration:none;
	color:#006699;
	}

a:visited
	{
	text-decoration:none;
	color:#006699;
	}

a:hover 
	{
	text-decoration:none;
	color:#006699;
	font-weight:bold;
	}

a:active 
	{
	text-decoration:none;
	color:#000000;
	}

img 
	{
	vertical-align:middle;
	}

.left 
	{
	text-align:left;
	}

.right 
	{
	text-align:right;
	}

.center 
	{
	text-align:center;
	}

.line 
	{
	padding:3px;
	border-bottom:1px dashed #D1D8DF;
	}
.head
	{
	padding: 5px 5px 5px 8px;
	background:#F4F4F4 url(http://localhost/tester/nikmob/customizationFiles/headbg.png) repeat-x top;
	border:1px solid #ccc;
	font-weight:bold;
	color:#333333;
	margin-top:1px;
	text-transform:capitalize;
	}	
.update 
	{
	border-bottom:1px dashed #D1D8DF;
	padding:3px 5px;
	} 

input, textarea, select 
	{
	color:#000000;
	background-color:#fff;
	border:1px solid #bbb;
	margin:1px;
	padding:2px;
	}

input[type=password], input[type=text], input[type=file] 
	{
	max-width:100%;
	background:#fff url(http://localhost/tester/nikmob/customizationFiles/password.png) repeat-x top;
	}

input[type=submit] 
	{
	background-color:#f4f4f4;
	padding:2px 8px;
	border:1px solid #cccccc;
	font-weight:bold;
	margin:1px;
	cursor:pointer;
	}
.file
	{ 
	border-bottom: 1px dashed #bbb;
	margin-top: 1px;
	margin-left:2px;
	padding: 3px;
	}

.filesmoke
	{
	background-color: #F5F5F5;
	border-bottom: 1px dashed #bbb;
	margin-top: 1px;
	margin-left:2px;
	padding: 2px;
	}

.file a 
	{
	font-weight:bold;
	}
.filesmoke a 
	{
	font-weight:bold;
	}
.page 
	{
	font-weight:bold;
	color:#656565;
	}
.page a
	{
	font-weight:normal;
	}

.logo	
	{
	background:#595959 url(http://localhost/tester/nikmob/customizationFiles/headerbg.png) repeat-x;
	border-bottom:1px solid #cccccc;
	font-weight:bold;
	color:#666666;
	padding:4px;
	}
	.logo-head	
	{
	background-color:#eeeeee;
	border-bottom:1px solid #cccccc;
	font-weight:normal;
	color:#666666;
	padding:4px;
	}

.jump 
	{
	padding:4px;
	text-align:center;
	}

.backlink 
	{
	border:1px dotted #bbb;
	margin-top:1px;
	padding:3px;
	background-color:#eee;
	font-weight:bold;
	text-align:left;
	color:#000;
	}
.backlink a
	{
	font-weight:bold;
	}

.dis
	{
	padding:3px; 
	background-color:#eee;
	border:1px solid #ccc;
	margin-top:1px;
	}
.uleft 
	{
	padding:4px 4px 4px 6px;
	width:1%;
	}
	
.uright 
	{
	padding:4px;
	vertical-align:baseline;
	}
.image 
	{
	border:1px solid #ccc; 
	margin:1px;
	padding:3px;
	}

.headone span 
	{
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
	border-left:1px solid #ccc;
	border-bottom:1px solid #fff;
	position:relative;
	top:3px;
	padding:3px;
	background:#fff;
	}

.head span 
	{
	border-top:1px solid #ccc;
	border-right:1px solid #ccc;
	border-left:1px solid #ccc;
	border-bottom:1px solid #fff;
	position:relative;
	top:3px;
	padding:3px;
	background:#fff;
	}
	.daily 
	{
	border:1px solid #ddd; 
	background:#eee; 
	padding:2px; 
	margin:5px; 
	}
	element.style {
	}

.footer
	{
	padding:5px;
	background:#595959 url(http://localhost/tester/nikmob/customizationFiles/footerbg.png) repeat-x;
	color:#cccccc;
	border:1px solid #595959;
	font-weight:bold;
	margin-top:1px;
	}
.footer a 
	{ 
	color: #fff;
	}
<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
Wintch Developer · 68 posts #4

Ghost i have d0ne exaltly that. But any time i upload the css to use, some DIV is always showing white. What culd b the probs?

Ghost Senior · 366 posts #5

Wintch wrote: Ghost i have d0ne exaltly that. But any time i upload the css to use, some DIV is always showing white. What culd b the probs?

possibly cos his css file points to some other files on his "localhost" which you wont get without pointing to a proper ip address.

    background:#fff url([url]http://localhost/tester/nikmob/customizationFiles/password.png[/url]) repeat-x top; 

so the css file will need modding in certain places.

but then i maybe wrong. ive seen another site today using the same css file i posted earlier

JDKNET.TK - One Stop Download Portal

which by the way:::

@stunning they removed copyright and put

© JDKNET.TK All Right Reserved By JDKHOST

at end of pages

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
StunningNick Junior · 40 posts #6

Ghost wrote: but then i maybe wrong. ive seen another site today using the same css file i posted earlier

JDKNET.TK - One Stop Download Portal

which by the way:::

@stunning they removed copyright and put

© JDKNET.TK All Right Reserved By JDKHOST

at end of pages

hehehe i guess i have to re-think on my selfish line, btw have requested GPL, i think i should receive its copy with-in 24hrs so from then onwards script will copyrighted solely .

Pain~Killer wrote: Plz Plz Plz add download hits counter on this script.

ok i will re-upload script within sometime by adding download counter . 🙂

Romi wrote: plz Solve my Problem .. its Not working

REQUIREMENTS <<<<<<<<<<

  • PHP 5.3.x +
  • HTACCESS SUPPORT
  • MYSQL 4.x +

that simply means you don't have php 5.3.x + installed on server .

Don't think i am bad , i used to be too good one time...

StunningNick Junior · 40 posts #7

Romi wrote: U mean Its Not Worked oN free HostinG ????

that does not mean it will not run on free hosting, you'll have to wait until your host enables support for 5.3+ or try adding the htaccess line i have given for hostgator shared server as hostgator maintain 3 copies of php installation as i know, furthermore you can verify your php version by creating a *.php file with containing following lines ,

<?php

echo 'Current PHP version: ' , phpversion();

Don't think i am bad , i used to be too good one time...

StunningNick Junior · 40 posts #8

there are only 2 files you need to replace from previous , index.php & IndexModel.php

use $variable_name->views to display downloads

for most of it is $list->views you'll find how to use it on line no. 328 i guess in __Class/IndexView.php 😊

Added after 11 minutes:

well well well .... i don't know who is this & what problem this person is having with me .... 😕 😳

😠 there is nothing deleting reply's from my posted threads, if you think am violating any Coding-Talk.Com Rule 🌊 do point me out & if you don't want me to share script or post anything here delete this thread, if you don't like my attitude its your problem not mine . 🙂 8P 😍

Don't think i am bad , i used to be too good one time...

StunningNick Junior · 40 posts #10

djgolcom wrote: error public_html/index.php on line 210

its showing, cause line no. 210 is having goto operator goto view; , which is only supported by php version 5.3.x+

please do verify your php installation.

Don't think i am bad , i used to be too good one time...

Wintch Developer · 68 posts #11

stunning am also facing the same issue, hw do i verify my ph instalation to suite the script.?

StunningNick Junior · 40 posts #14

Wintch wrote: stunning am also facing the same issue, hw do i verify my ph instalation to suite the script.?

create a .php file with anyname including "echo phpversion();" without quotes, check if it print 5.3+ if yes you're good to go 🙂 or alternatively you can remove goto operator but this will lead you to major security issue or as ozziemale said try hiding errors i don't know if it will work or not but i guess it is same as removing goto operator , do what suits you best ... better upgrade to 5.3+

Don't think i am bad , i used to be too good one time...

Wintch Developer · 68 posts #15

@Stunning i got '5.2.17' i guez its nt ok. Am i de 1 to upgrade? I sugezt itz my host provider...

razib Developer · 132 posts #16

when I am trying to clean deleted files for DB ia m getting this error

Fatal error: Call to undefined method mysqli::free() in /public_html/go/_Class/Database.php on line 60

Please let me know how can I fix this problem.

🦸 Buying mobile traffic, PM me with your traffic details

StunningNick Junior · 40 posts #17

razib wrote: when I am trying to clean deleted files for DB ia m getting this error

Fatal error: Call to undefined method mysqli::free() in /public_html/go/_Class/Database.php on line 60

Please let me know how can I fix this problem.

remove that line no.60

mysqli extension is still in beta stage, sometimes free() method should be called using mysqli object & sometime using query reference i didn't found any fix for this, as well as on some server it works with "()" & some just keyword, i think there was an bug report at php.net & i guess it is fixed in php 5.4+ haven't checked you can verify its status visiting php.net

Don't think i am bad , i used to be too good one time...

razib Developer · 132 posts #18

file preview like wallpaper previews are not working

i think some files and folders are also missing

🦸 Buying mobile traffic, PM me with your traffic details

StunningNick Junior · 40 posts #19

razib wrote: file preview like wallpaper previews are not working

well here everyone is making mistake preview generation is two step process when you click generate button what it is actually doing is preparing images for preview generation then you have to just hit the address bar and click enter/go ( in - short reload the page without re-processing/submitting the form ) then you'll see a popup over there , with info about how many file(s) preview(s) are possible to generate just click that link with "first" keyword this will generate file preview(s) for you ...

razib wrote: i think some files and folders are also missing

ya customization folder with all its file(s) is missing i hope you can get your own css & rest of file(s)

this is login page css i hope you know how to add it

form {
    width: 250px;
    padding: 20px;
    border: 1px solid #270644;
 
    /*** Adding in CSS3 ***/
 
    /*** Rounded Corners ***/
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
 
    /*** Background Gradient - 2 declarations one for Firefox and one for Webkit ***/
    background:  -moz-linear-gradient(19% 75% 90deg,#4E0085, #963AD6);
    background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#963AD6), to(#4E0085));
 
    /*** Shadow behind the box ***/
    -moz-box-shadow:0px -5px 300px #270644;
    -webkit-box-shadow:0px -5px 300px #270644;
}

input {
    width: 230px;
    background: #8a33c6;
    padding: 6px;
    margin-bottom: 10px;
    border-top: 1px solid #ad64e0;
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;

 
    /*** Adding CSS3 ***/
 
    /*** Transition Selectors - What properties to animate and how long ***/
    -webkit-transition-property: -webkit-box-shadow, background;
    -webkit-transition-duration: 0.25s;
 
    /*** Adding a small shadow ***/
    -moz-box-shadow: 0px 0px 2px #000;
    -webkit-box-shadow: 0px 0px 2px #000;
}

input.submit {
    width: 100px;
    text-transform: uppercase;
    text-shadow: #000 1px 1px;
    border-top: 1px solid #ad64e0;
    margin-top: 10px;
 
    /*** Adding CSS3 Gradients ***/
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#963AD6), to(#781bb9));
    background:  -moz-linear-gradient(19% 75% 90deg,#781bb9, #963AD6);
}

Don't think i am bad , i used to be too good one time...

Wintch Developer · 68 posts #20

stunning where du i change the goto operatio 4 the index page to work 4 me.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close