11
highlander
Re: Module dev: DB and Table name Horror!! err Error?
  • 2006/8/24 16:29

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


1. does your admin page have the following structure ?
require_once '../../../include/cp_header.php';

xoops_cp_header();

//lots of code

xoops_cp_footer();


2. the XOOPS db class should take care of this.
$sql "select * from ".$xoopsDB->prefix("tablename")." where ...";


hope this is what you mean...

CU Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



12
highlander
fixed width for left hand colom ?
  • 2006/8/19 9:08

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Wow, these css themes are brillant.

I am playing about with the 'fixed' theme at the moment and I was wondering how to set the width (in pixels) of the left colom.

The width of the colom seem to be changing when I change the width of the entire theme. I have bashed the css about but I am unsure as to what is the best approach to give the left colom a fixed width.

The look I am trying to go for is a fixed left hand colom (say 180px) and left blocks which take up all the width. (No margin around the left blocks)

Any thoughts on the best way to achieve this ?

Kind regards,

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



13
highlander
Re: Xoops multi language once again!
  • 2006/1/24 16:03

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hello,

Does anyone know the difference between EMLH and Xlangauge ?
Form the thread on GIJOE's site I believe they do different things anf complement each other ?

Kind regards,

Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



14
highlander
Re: addSlashes in edit form variable?
  • 2005/12/29 20:55

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Might be an old post but I ran into the same problem today.

I solved it by doing the following:
htmlspecialchars($contentENT_QUOTES)

instead of :
addslashes($content)


and to get the content back :
unhtmlentities($content)


and the function unhtmlentities is as follows :
function unhtmlentities ($string) {
   
$trans_tbl =get_html_translation_table (HTML_ENTITIES );
   
$trans_tbl =array_flip ($trans_tbl );
   return 
strtr ($string ,$trans_tbl );
}


greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



15
highlander
Re: xlanguage
  • 2005/12/17 17:51

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi dream77,

try the following :

[sw]Swedish content goes here[/sw][en]English content goes here.[/en]


replace [sw] and [en] with the codes you have set up for your languages.

You can use these codes anywhere in XOOPS ! good luck !
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



16
highlander
Re: Some parts of my website are being repeated - strange phenomenon
  • 2005/12/8 20:49

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Naarjtie,

You'll need to find the duplicate rows in the database and delete them.
You can do this with a database tool like PhpMyAdmin which you probably have (most hosts istall it as standard)

As its only 32 adresses and a couple of double moderators it should not take long.

If you are unsure I am sure someone here can help if you PM the url to PhpMyAdmin.

greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



17
highlander
Re: Activation of new users
  • 2005/12/8 14:34

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Imartinus,

How about posting what you have doen allready ?
Might make it easier for people to give you a hand.

greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



18
highlander
Re: Rewriting module URLs
  • 2005/12/8 9:57

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Sorry, gave you the wrong link last time.

Here is the correct link : LINK

You should need to write just one rule which will convert all your *mylinks* urls.

greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



19
highlander
Re: Can I use a .htaccess like this?
  • 2005/12/8 9:47

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi dickinsd,

It is indeed the ? in the first part which is stopping your redirect form working. Funnily enough I have been battleing with the exact same problem only days ago.

You can find the solution here : LINK

Please post your results !

greetings Highlander

[edit]p.s. WatdeHek you were up early..!! (idiot)[/edit]
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com



20
highlander
Re: Google got server down...
  • 2005/12/7 11:10

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi Sikey,

yours is not the only site google has to index. Possible this is why they try to get at much as quickly as possible.

I am also not aware of any techniques to make google "take it easy".

If moeny isn't an issue you could look into stuff like load-balancing and the like.
Personally I'd just be glad the server could handle the load and that the number of indexed pages has almost doubled.

Greetings Highlander
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
www.AnimalPedigree.com




TopTop
« 1 (2) 3 4 5 ... 14 »



Login

Who's Online

69 user(s) are online (37 user(s) are browsing Support Forums)


Members: 0


Guests: 69


more...

Donat-O-Meter

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

Latest GitHub Commits