11
FrEaKmAn
Re: Fast Submit
  • 2006/4/15 11:10

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


I found reason, in footer.php there is:

//serve page
$GLOBALS['xTheme']->display($template);

If I remove this, only form loads but it' not working, if I leave this, then my whole page loads but everything works. So can anybody explain how to remove this?



12
FrEaKmAn
Fast Submit
  • 2006/4/15 10:01

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


Hi

I was testing some things how to make fast submit for PDDownloads module. I removed all unneccesary things and I made popup. You can see it here:

http://www.allebooks.org/modules/PDdownloads/test-popup.htm

or direct link

http://www.allebooks.org/modules/PDdownloads/fast-submit2.php

Now submitting works great, but all other option, like image, link, image manager, font option are not working. Is this because I removed header from module and footer from page?? Because only this how I get only submit form and not the whole page..

Here is source code:

http://www.allebooks.org/modules/PDdownloads/fast-submit2.txt



13
FrEaKmAn
Re: Image Resizer
  • 2006/4/14 21:03

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


Thanks, sorry I searched but somehow I couldn't find anything.

I tried it and it doesn't work, I'm using 2.2.3 version and I want to use this under pddownloads

EDIT: Sorry works, I had to update theme.html ...

Thnx again!



14
FrEaKmAn
Image Resizer
  • 2006/4/14 19:47

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


Hi

Is there any image resizer, like for news, downloads, forum and so on, so that it doesn't brake the table in page. I found one script which is used in phpbb:

#
#-----[ COPY ]---------------------------
#

copy resizefix.php to templates/subSilver/resizefix.php


#-----[ OPEN ]------------------------------------------ 
#

subSilver/bbcode.tpl


#-----[FIND]------------------------------------------ 


<!-- BEGIN img --><img src="{URL}" border="0" /><!-- END img -->


#-----[REPLACE WITH]------------------------------------------ 


<!-- BEGIN img -->
<
script language="javascript" type="text/javascript"
<!-- 
function 
pointercursor(){document.body.style.cursor "move";}
function 
unpointercursor(){document.body.style.cursor="";}
//--> 
</script>
<
img src="{URL}" border="0" onmouseout="unpointercursor();" onmouseover="if(this.width == 550) {pointercursor();}" onclick="if(this.width == 550) { window.open('templates/subSilver/resizefix.php?originalsize={URL}', '_blank' ,'scrollbars=1,toolbar=no,resizable=1,menubar=no,directories=no,status=yes'); return false; }" alt="" />
<!-- 
END img -->


#-----[ OPEN ]------------------------------------------ 
#

subSilver/overall_header.tpl


#-----[FIND]------------------------------------------ 
#

<!-- END switch_enable_pm_popup -->


#-----[ AFTER, ADD ]------------------------------------------ 


<script language="javascript" type="text/javascript"
<!-- 
  function 
resize_images() 
  { 
    for (
0document.images.lengthi++) 
    { 
      while ( !
document.images[i].complete 
      { 
        break;
      } 
      if ( 
document.images[i].width 550 
      { 
        
document.images[i].width 550
      } 
    } 
  } 
//--> 
</script>


#-----[FIND]------------------------------------------ 
#

<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">


#-----[ IN-LINE FIND ]------------------------------------------ 


vlink="{T_BODY_VLINK}"


#-----[ IN-LINE AFTER, ADD ]------------------------------------------ 
#

onload="resize_images()"


#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 

# EoM


Can somebody help me make this work, where can I find script for bb codes at xoops?



15
FrEaKmAn
Re: Which is faster??
  • 2006/4/8 7:48

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


Well, I contacted them I they said that the server is running really fast. I don't have loading problems when I'm the only one on the page, the problems start with more people. So which is more stable??



16
FrEaKmAn
Re: Which is faster??
  • 2006/4/7 19:04

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


no hosting, mcewing.net ...



17
FrEaKmAn
Re: Which is faster??
  • 2006/4/7 18:50

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


my site - allebooks.org



18
FrEaKmAn
Which is faster??
  • 2006/4/7 18:45

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


I have problems with my page, everytime I have over 10 people browsing it, I get slow loading ...

What do you think, which is faster? 2.0 or 2.2?



19
FrEaKmAn
shortlink
  • 2006/4/2 20:16

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


Hi

I'm looking for module, I know that exists, which can shorten my links, like from ...page/modules/PDdownloads/... to page?=downloads.

Thank you in advance



20
FrEaKmAn
Re: Queries
  • 2006/3/26 20:50

  • FrEaKmAn

  • Just popping in

  • Posts: 57

  • Since: 2006/2/17


with main page - news module - I get 1.238 Seconds | 27 Queries | and with download module 1.665 Seconds | 202 Queries | , now my friend told me that this is to much for database. so is it true?




TopTop
« 1 (2) 3 4 5 6 »



Login

Who's Online

216 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 216


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits