Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - haider512

Pages: [1] 2 3
1
Discussion & Troubleshooting / Right way to backup??
« on: March 15, 2011, 12:37:02 PM »
Hi..

Well i want to know i upload files or user upload files and i want to make backup or my data every day. so how will it be possible i make backup of certain data instead of downloading whole site again and again.

i mean i do not want to download whole site again and again for whole backup.. i just want to backup new updates or files uploaded on the 4images..

one thing will be common that is backup the database.. but what about images??  will backing up on data folder does every thing or i will have to take backup of any other files??

2
Hello..

I want to change the font of the categories on index page, but cant find anything related to it in the templates folder?
can any one point me to the file which need to be edited in order so that it changes the fonts of categories names..


3
Hi i created a group.. uploader..

They can upload files..but i have to approve their uploads. How to give authority to them that they can upload files without my approval.. that i login again and again to moderate their uploads.

is there any mod out there for this?

4
Programming / Re: Second Thumbnail Size
« on: February 28, 2011, 07:54:09 PM »
thank you sir for reply but problem is still not solved.

I implemented your code on mawenzi code.. i got some error.. please check what did i do wrong?

i have attached the functions.php file..please check if this code is correct.. but i think i applied it correctly.

Please sir look what did i do wrong.
Code: [Select]
Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\library\includes\functions.php on line 562===============================================

EDIT :

Sir i think you forgot semicolon ( ; )  in your code after $thumb_height = $thumb_height."px"

i added semicolon.. the error is gone ..but image not coming up.. are you sure your code is working fine?


5
Hi.
i am trying to set my own thumnail, with my own thumbnail size.

like here is {thumbnail} so i want to add one of my own like {thumbtip}

i know i need to do changes in catogries.php to able to have or use {thumbtip} in my thumbnail_bit.html file.

So please any one have any experience how will i be able to do that.

Actually im trying to setup jquery thing. that when user mouse over the thumbnail the big tooltip kind of thing appears. so i want to set my custom size for that tooltip.

please see the attach pic.


6
hi ..i want to add a message to my download button for unregistered users..

download button is fine..what i mean to say when unregistered or guest clicks the download button it shows message to the user to register or login ..

its ok if it redirects to another page..and it will be alot better if its possible to display message box like using javascript
alert.messagebox kind of thing..

Any one any ideas how to do that..

Actually today one of user asked me how to download file.. i cant download file when i click download.. and there i told him that you need to register..

so what i mean to say, all users are not good with computers.. it will be better to display user their error that why they can not download files..that they need to register or login to able to download..


Help and responses needed...If there is any mod out here for this purpose..will b great to hear about that.


Kind Regards
Haider

7
Hi im looking for Mod or some way to integrate the 4images in to Mybb forums??
Have any one tried and successeeded in mod like 4images and Mybb..

8
Hello i want to replace captcha thing in registration page with some random question..

Is there any mod which can help me in it?

Kind Regards

Haider

9
Discussion & Troubleshooting / custom footer page
« on: February 19, 2011, 01:24:07 PM »
Hi i want to have custom footer page..

i mean the default custom footer page is footer.html

and i want to have footer2.html.

how to do that??

any ideas?

10
Chit Chat / Review my website.
« on: February 19, 2011, 12:14:23 PM »
Hi.. i have been working little bit on my site..and to be honest i got most of help and support from here forums.. i wouldn't be able to go this far..

So here is my site.. and still working on it..

www.cusitlibrary.com

so what do you think of my website..?  whats kool and what is missing and what should be edited or some thing..

My biggest hero here on this forum who helped me with most of my problems with 4images is V@no.. he helped alot.. and rest members are awesome..really helpful forum.. :-)
when officially i will introduce my site to my university i will put 4images pic in footer with a link back to 4images...

Many THanks for support.. Please Review my site..

11
Discussion & Troubleshooting / question about SMF integration
« on: February 17, 2011, 12:38:32 PM »
Im thinking of adding SMF forum to my 4images..

but im little confuse, that how it works. if they get integrated so both of them will share same database or different database will be used for them?

Also is it possible if user registers so he/she can access both forum and 4images with same username and password and during registration whatever avatar he/she have selected will be used for both forum and 4images.

Looking forward to positive feedback

Kind Regards
Haider

12
Discussion & Troubleshooting / Need Help with file editing..
« on: February 10, 2011, 06:40:59 AM »
Hello..Hi..

I need help in editing of file..

I created a template with a name of loginbox.php and i included it in my header file header.html.

with this <?php include ('userbox/loginbox.php'); ?>

and put whatever css or javascript is needed on head place of header..

but problem is when i try to use the {url_login} , {lang_lost_password}, {lang_register}

They dont seem to work..please can any body help me in this..


my loginbox.php file

 <ul>
<
li><a href="register.php" class="big-btn blue"><strong>Register</strong></b></a></li>
<
li><h2 style="font-size:25px; color: white; padding-top: 15px"> &nbsp;OR &nbsp; </h2></li>
<
li><div id="login-holder"><a href="#login-box" class="big-btn green"><strong>Login</strong></b></a></div></li>
  <
ul>

     <
br /><br />
<
div class="hidden">
  <
div id="login-box">
    <
form action="login.php" method="post">
      <
label for="login-username">Username:</label>
      <
input type="text" name="user_name" id="login-username" />
      <
label for="login-password">Password:</label>
      <
input type="password" name="user_password" id="login-password" />
      <
div class="submit-block"> <span class="alignleft">
        <
input name="auto_login" type="checkbox" value="1" class="checkbox" />
        
Remember me</span> <span class="alignright">
        <
input type="submit" name="submit" id="login-submit" value="Login" class="sml-btn grey" />
        </
span> </div>
      <
a href="member.php?action=lostpassword" class="lostpass">Forgot Password?</a>
    </
form>
  </
div>
</
div>


my header.html file

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<
html xmlns="http://www.w3.org/1999/xhtml">

<
head>

<
title>{site_name}</title>

<
meta http-equiv="content-type" content="text/html; charset={charset}" />
<
link rel="stylesheet" href="userbox/login/login.css" />
<
link rel="stylesheet" href="userbox/login/fancybox/jquery.fancybox-1.3.1.css" type="text/css" />
<
link rel="stylesheet" href="userbox/login/css/superfish.css" type="text/css" />
<
link rel="stylesheet" href="userbox/login/css/custom.css" type="text/css" />
<
link rel="stylesheet" href="{template_url}/images/style.css" />
<
link rel="stylesheet" href="{template_url}/cstyle1.css" />
<
link rel="stylesheet" href="custom/css/reset.css" type="text/css" media="all">
<
link rel="stylesheet" href="custom/css/grid.css" type="text/css" media="all">
<
link rel="stylesheet" href="custom/css/style.css" type="text/css" media="all">
<
link rel="stylesheet" href="custom/bigcontainer.css" type="text/css" media="all">
  <!--[if 
lt IE 7]>
    <
script type="text/javascript" src="{template_url}/custom/js/ie_png.js"></script>
    <
script type="text/javascript">
        
ie_png.fix('.png, .logo img, header nav a, header .extra-navigation a, img.icon');
    </
script>
  <![endif]-->
  <!--[if 
lt IE 9]>
  
	
<
script type="text/javascript" src="{template_url}/custom/js/html5.js"></script>
  <![endif]-->
<
script src="jquery.js" type="text/javascript" language="javascript"></script>
<
script src="js/cusit-id.js" type="text/javascript" language="javascript"></script>
<
script type="text/JavaScript" src="custom/js/curvycorners.src.js"></script>
<
script src="userbox/login/js/jquery.min.js"></script>
<
script src="userbox/login/js/superfish.js"></script>
<
script src="userbox/login/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
<
script src="userbox/login/js/bluz.js"></script>
<
script src="userbox/login/js/harabara.js"></script>
<
script src="userbox/login/js/css_browser_selector.js"></script>
<
script src="userbox/login/js/jquery.form.js"></script>

<
style>

.
myBox {
  
margin0.5in auto;
  
color#ffffff;
  
width300px;
  
height110px;
  
padding15px;
  
text-alignleft;
  
background-imageurl(test.png);
  
background-repeatno-repeat;
  
border:5px solid #33ccff;
}

.
topbox {
	
padding-left15px;



}


</
style>
<
script language="javascript" type="text/javascript">

  var 
captcha_reload_count 0;

	
var 
captcha_image_url "{url_captcha_image}";

  function 
new_captcha_image() {

    if (
captcha_image_url.indexOf('?') == -1) {

	
	
  
document.getElementById('captcha_image').srccaptcha_image_url+'?c='+captcha_reload_count;

	
	
} else {

	
	
  
document.getElementById('captcha_image').srccaptcha_image_url+'&c='+captcha_reload_count;

	
	
}



    
document.getElementById('captcha_input').value="";

    
document.getElementById('captcha_input').focus();

    
captcha_reload_count++;

  }



	
function 
opendetailwindow() {

    
window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');

  }



{if 
user_loggedout}
  function 
right(e) {
    if ((
document.layers || (document.getElementById && !document.all)) && (e.which == || e.which == 3)) {
      
alert(" Copyright by {site_name}");
      return 
false;
    }
    else if (
event.button == || event.button == 3) {
      
alert(" Copyright by {site_name}");
      return 
false;
    }
    return 
true;
  }

  if (
document.layers){
    
document.captureEvents(Event.MOUSEDOWN);
    
document.onmousedown right;
  }
  else if (
document.all && !document.getElementById){
    
document.onmousedown right;
  }

	
document.oncontextmenu = new Function("alert(' Copyright by {site_name}');return false");
{endif 
user_loggedout}



</
script>



{if 
has_rss}

<
link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" />

{endif 
has_rss}

<
script type="text/JavaScript">

  
curvyCorners.addEvent(window'load'initCorners);

  function 
initCorners() {
    var 
settings = {
      
tl: { radius20 },
      
tr: { radius20 },
      
bl: { radius20 },
      
br: { radius20 },
      
antiAliastrue
    
}

    
/*
    Usage:

    curvyCorners(settingsObj, selectorStr);
    curvyCorners(settingsObj, Obj1[, Obj2[, Obj3[, . . . [, ObjN]]]]);

    selectorStr ::= complexSelector [, complexSelector]...
    complexSelector ::= singleSelector[ singleSelector]
    singleSelector ::= idType | classType
    idType ::= #id
    classType ::= [tagName].className
    tagName ::= div|p|form|blockquote|frameset // others may work
    className : .name
    selector examples:
      #mydiv p.rounded
      #mypara
      .rounded
    */
    
curvyCorners(settings".myBox");
  }

</
script>

</
head>

<
body>

 <!-- 
header -->
  <
header>
    <
div class="container_24">
    
	
<!-- .
logo -->
    
	
<
div class="logo">
      
	
<
a href="{url_home}"><img src="images/logo.png" alt=""></a>
      </
div>
    
	
<!-- /.
logo -->
      <!-- .
extra-navigation -->
{if 
user_loggedout}<div class="extra-navigation"> <?php include ('userbox/loginbox.php'); ?> </div>   {endif user_loggedout}
{if user_loggedin}<div class="extra-navigation1"> <?php include ('userbox/box.php'); ?> </div>{endif user_loggedin}
      <!-- /.extra-navigation -->
      <nav>
        <ul>
        
	
<li><a href="{url_home}" class="current">Library</a></li>
          <li><a href="downloads/index.php">Downloads</a></li>
          <li><a href="soon.htm">Forum</a></li>
          <li><a href="search/index.php">Search</a></li>
          <li><a href="legends.php">Legends</a></li>
          <li class="last"><a href="contact.php">Contact Me</a></li>
        </ul>
      </nav>
    </div>
  </header>
  <!-- content -->
  <br />
  <div id="liquid-round">
    <div class="top"><span></span></div>
    <div class="center-content">

        <!-- CONTENT BEGIN -->
        <table width="100%" border="0" align="center"><tr><td>

<div id="container">


Looking for replies and help..really need help in this..

Kind Regards
Haider

13
Hi..

i am lookng for mod which enables user to view .pdf , .ppt documents online...

i have searched 4images site..but unfortunately couldnt find a solution..

the only best mod i found that makes enable of viewing pdf online with help of iframe..but still that mod requires acrobat user to be installed on users pc..

but i want some thing like docstoc or google docs..like that user dont need to install acrobat reader on their pc..
i have searched google for solution but mostly i have found online the swf solution..but i dont know how it will work..

also i tried docs.google.com that if i upload documents on docs.google.com and link it here..but still it only show document ..and its not downloadable..not proffesional looking..

i found scribd very good..dont know much about it..
but now i came to know that they no longer require you to host your documents on their server. If you create an account with them so you get a publisher id, it only takes a few lines of javascript to load up pdf's stored on your own server.

http://www.scribd.com/developers

but the problem is im not a good coder..mostly time i make mess with codings..so i need help of coder here to help me with this issue..make a mod..with this..

scribd have explained in detail the procedure..but the file system here is out of my head..

please if some one can make a mod with this..it will b great..

i just need my users to give ability to view documents online without need of download.. and also without need of installing acrobat and other software..etc..

Please help regarding this..

Looking forward to your replies..

Kind Regards
Haider


===========

i found another site...

http://code.google.com/p/do-pdf/

Quote
Uses only HTML, Javascript and CSS to show the viewer

please look in to this..

14
Discussion & Troubleshooting / custom .php and .html file?
« on: January 01, 2011, 03:33:04 AM »
Hi..
i want to make a custom file of name legends.html and legends.php.

i want to copy the legends.php file in main root folder and legends.html in templates folder.

so when i do changes in .html file...it also show in site like this..

mysite.com/legends.php


but changes occur when i do chages in .html file..

like all other html files..members.html home.html etc etc..

how to do it..??

15
Mods & Plugins (Requests & Discussions) / pdf online view
« on: December 31, 2010, 12:08:58 PM »
Hello..

what to do that if i want to make restriction only on pdf files.. that users cant download the pdf files ..They only can view the pdf files..

if there is any mod out here..i will like to know..

also if there is any mod here in this mod which makes users enable to view pdf files online..i will like to know about that too..

Please reply..im looking forward to it..

Kind Regards
Haider

Pages: [1] 2 3