News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Erreur images hébergées chez imageshacks

Started by slinouille, March 02, 2007, 02:24:13 PM

Previous topic - Next topic

slinouille

Bonsoir,

Voila on vient de me remonter un probleme que j'ai pu reproduire, à savoir une erreur de base de données lorsque l'on poste un message contenant de nombreuses balises images dont la source est hébergée chez Imageshacks.

L'erreur remontée est la suivante :
QuoteMySQL server has gone away
Fichier: /home/www/b9d4922f5f52d28ab245934f5f2c5010/web/forum/Sources/Subs.php
Ligne: 2957

Exemple de balises :
[ img ]http://img80.imageshack.us/img80/7748/dscf0036lj3.jpg[ /img ] (sans les espaces bien sur)

Il doit y en avoir environ 20 dans le post.

Avez-vous une idée ?

Merci
Visit VAG-Technique.fr
Take a look to my mods

Loverboy

Ik zou graag willen dat mijn forum op elke computer dezelfde breedte heeft.. Ik weet alleen niet waar ik dit kan instellen.. Dus de breedte niet in procenten.. Ik kan het voorlopig alleen in de style.css met paddings instellen, maar als je daarmee werkt is het op een ander Pc breden dan op mijn pc.. Dit heeft te maken met de beeldschermresolutie denk ik.. Bij een groter beeldscherm is die breder dan op een minder brede beeldscherm..

Hoe kan ik er dus voor zorgen dat de forum, ongeacht de beeldscherm, overal dezelfde breedte heeft?

Loverboy

Ik zou graag willen dat mijn forum op elke computer dezelfde breedte heeft.. Ik weet alleen niet waar ik dit kan instellen.. Dus de breedte niet in procenten.. Ik kan het voorlopig alleen in de style.css met paddings instellen, maar als je daarmee werkt is het op een ander Pc breden dan op mijn pc.. Dit heeft te maken met de beeldschermresolutie denk ik.. Bij een groter beeldscherm is die breder dan op een minder brede beeldscherm..

Hoe kan ik er dus voor zorgen dat de forum, ongeacht de beeldscherm, overal dezelfde breedte heeft?

:)

Loverboy

Ik zou graag willen dat mijn forum op elke computer dezelfde breedte heeft.. Ik weet alleen niet waar ik dit kan instellen.. Dus de breedte niet in procenten.. Ik kan het voorlopig alleen in de style.css met paddings instellen, maar als je daarmee werkt is het op een ander Pc breden dan op mijn pc.. Dit heeft te maken met de beeldschermresolutie denk ik.. Bij een groter beeldscherm is die breder dan op een minder brede beeldscherm..

Hoe kan ik er dus voor zorgen dat de forum, ongeacht de beeldscherm, overal dezelfde breedte heeft?

Loverboy


Loverboy


IJM

How do i edit them and when i do it.How [nofollow] do i install them on the forums.

IJM

How do i edit them or make a new pack and then how do install them on the forums.

Dracon

I checked other posts but didnt founded a way to get the link so I need help PLEASE

pldb

How can http://www.simplemachines.org/community/index.php?action=who this be turned off, so Admin and Mods only can see it?  If you turn off this facility in the admin section, it turns it off for Mods as well.  I cannot find a way of stopping members only from not viewing this.

A while back a friend said that it can be done by some short code.  Anyone any ideas?

ortiz

Hola


Url de tu foro y Versión: http://foros.consolas.com/ - SMF 1.1.2
Theme que usas: default(pero editado)

Pues tengo un pequeño problema con el tema de los avatares. No consigo que los usuarios puedan subir su imágen. Al principio creía que sólo se trataba de permitir el "Subir Archivos Adjuntos". Lo activé, pero tampoco. Después también hay una parte donde das permisos a los grupos por url externa, subir avatares, etc. Y lo tengo todo activado.

No se que puede pasar.

Además, movimos el foro de un server a otro y todos los avatares que subí,ahora no se ven, y están!

Pero lo más importante es hacer que los usuarios se puedan subir su propia imágen.

¿Alguna idea?

Saludos y gracias  :'(

pldb

How can http://www.simplemachines.org/community/index.php?action=who be turned off, so only admins and Mods can use it.  In the admin panel if you stop members, it also stops Mods from using it as well.  Someone did inform me that it might take some little coding, any ideas.

ortiz

Hola

Url de tu foro y Versión: http://foros.consolas.com/ - SMF 1.1.2
Theme que usas: default(pero editado)

Pues tengo un pequeño problema con el tema de los avatares. No consigo que los usuarios puedan subir su imágen. Al principio creía que sólo se trataba de permitir el "Subir Archivos Adjuntos". Lo activé, pero tampoco. Después también hay una parte donde das permisos a los grupos por url externa, subir avatares, etc. Y lo tengo todo activado.


No puede escribirse en el directorio para subir archivos adjuntos. Tu archivo adjunto o avatar no se pudo guardar.



No se que puede pasar.

Además, movimos el foro de un server a otro y todos los avatares que subí,ahora no se ven, y están!

Pero lo más importante es hacer que los usuarios se puedan subir su propia imágen.

¿Alguna idea?

Saludos y gracias  :'(

pldb

SMF Version: SMF 1.1 RC3
How can http://www.simplemachines.org/community/index.php?action=who be turned off, so only admins and Mods can use it.  In the admin panel if you stop members, it also stops Mods from using it as well.  Someone did inform me that it might take some little coding, any ideas.

ortiz

SMF Version: SMF 1.1.2
Hola

Url de tu foro y Versión: http://foros.consolas.com/ - SMF 1.1.2
Theme que usas: default(pero editado)

Pues tengo un pequeño problema con el tema de los avatares. No consigo que los usuarios puedan subir su imágen. Al principio creía que sólo se trataba de permitir el "Subir Archivos Adjuntos". Lo activé, pero tampoco. Después también hay una parte donde das permisos a los grupos por url externa, subir avatares, etc. Y lo tengo todo activado.


No puede escribirse en el directorio para subir archivos adjuntos. Tu archivo adjunto o avatar no se pudo guardar.


No se que puede pasar. ¿Alguna idea?

Saludos y gracias  :'(

Surferbird

I use 1.1.2 versus and finnish language when this happen. It say "vee" V instead if "zet" Z, with other words when ther is Z it say V  :P :o
.:: Always something to ask - always grateful for assistance ::.

aalfred

Hallo an alle

Ich bins mal wieder schlagt mich nicht  ;) Es geht darum ich habe die hintergrundfarbe geändert, klappt alles wunderbar nun muss ich aber die Farbe der Links wie z.b. wenn man blättern muss (seite 1, 2 u.s.w) die jetzt schwarz ist und kaum zu erkennen in der style.css habe ich schon gesucht aber ich bin englisch noop  :D

Gruss Andreas

Surferbird

I use 1.1.2 versus and finnish language when this happen. It say "vee" V instead if "zet" Z, with other words when ther is Z it say V  :P :o
.:: Always something to ask - always grateful for assistance ::.

aalfred

Hallo an alle

Ich bins mal wieder schlagt mich nicht  ;) Es geht darum ich habe die hintergrundfarbe geändert, klappt alles wunderbar nun muss ich aber die Farbe der Links wie z.b. wenn man blättern muss (seite 1, 2 u.s.w) die jetzt schwarz ist und kaum zu erkennen in der style.css habe ich schon gesucht aber ich bin englisch noop  :D

Gruss Andreas

Surferbird

I use 1.1.2 versus and finnish language when this happen. It say "vee" V instead if "zet" Z, with other words when ther is Z it say V  :P :o
.:: Always something to ask - always grateful for assistance ::.

aalfred

Hallo an alle

Ich bins mal wieder schlagt mich nicht  ;) Es geht darum ich habe die hintergrundfarbe geändert, klappt alles wunderbar nun muss ich aber die Farbe der Links wie z.b. wenn man blättern muss (seite 1, 2 u.s.w) die jetzt schwarz ist und kaum zu erkennen in der style.css habe ich schon gesucht aber ich bin englisch noop  :D

Gruss Andreas

aalfred

Hallo an alle

Ich bins mal wieder schlagt mich nicht  ;) Es geht darum ich habe die hintergrundfarbe geändert, klappt alles wunderbar nun muss ich aber die Farbe der Links wie z.b. wenn man blättern muss (seite 1, 2 u.s.w) die jetzt schwarz ist und kaum zu erkennen in der style.css habe ich schon gesucht aber ich bin englisch noop  :D

Gruss Andreas

Kenny01

How do I make text clickable in my post. Im the forum Admin, i'm using Simple Machines Forum. THANKS.  

Surferbird

I use 1.1.2 versus and finnish language when this happen. It say "vee" V instead if "zet" Z, with other words when ther is Z it say V  :P :o
.:: Always something to ask - always grateful for assistance ::.

Surferbird

I use 1.1.2 versus and finnish language when this happen. It say "vee" V instead if "zet" Z, with other words when ther is Z it say V  :P :o
.:: Always something to ask - always grateful for assistance ::.

Kenny01

How do I make text clickable in my post. Im the forum Admin, i'm using Simple Machines Forum. THANKS.  

UMARIZAL

Olá pessoal... eu posso permitir que o usuário coloque um banner na assinatura?

Assim, se ele colocar um trecho HTML que indique uma imagem e um link, vai aparecer certinho?

RRasco

I am trying to post some form data from one template and subaction to another.  problem is when i submit the data and try to run an INSERT INTO, i get an error from SMF that says 'hacking attempt'.  i had this problem before on another mod i was writing, but that was due to a ';' being in a query.  the query i am running now does not have any spec chars.....any ideas?  an example query is below...

INSERT INTO smf_garage_vehicles (user_id, made_year, engine_type, color, mileage, mileage_unit, price, currency, date_created, date_updated, make_id, model_id) VALUES ("2", "2007", "8 Cylinder Forced Induction", "White", "1", "Miles", "30000", "USD", "1174925253", "1174925253", "2", "14");
Vehicle Management System for SMF - SMFGarage.com

BigMike

Hello SMF,

I did a bit of searching, but even from this topic subject, I don't even know how to word it :P

Basically, what I would like to do, is if my forum has a board "A", then I would like when someone clicks on the board "A", it will take them to a new page that is still database driven, still has the same forum theme, but has content that I would like to manually create via HTML.

Right now, I can only think of two methods..

Method 1:
The link I would like to use is currently /index.php?board=1.0
So what I could do is just have javascript check for that link, and then replace it with a different like, like  /board1.php
Then, the file board1.php needs to be a page that has the same header, but below the header I would like to add my own content. Of course I will need the footer content below my content so that it still appears to be part of the forum.

Method 2:
I can have people click on the link /index.php?board=1.0.
Then when the forum tries to load that board, I can have javascript check for this, and then have it load the default forum header info, but bypass the body content, replace it with my own, and then have it load the footer info also.


I have seen forums do this before, so I was just wondering if there was a more simple way or even a package that can do this? I didn't know how to search for this idea..

Thanks in advance,
BigMike

RRasco

I am trying to post some form data from one template and subaction to another.  problem is when i submit the data and try to run an INSERT INTO, i get an error from SMF that says 'hacking attempt'.  i had this problem before on another mod i was writing, but that was due to a ';' being in a query.  the query i am running now does not have any spec chars.....any ideas?  an example query is below...

INSERT INTO smf_garage_vehicles (user_id, made_year, engine_type, color, mileage, mileage_unit, price, currency, date_created, date_updated, make_id, model_id) VALUES ("2", "2007", "8 Cylinder Forced Induction", "White", "1", "Miles", "30000", "USD", "1174925253", "1174925253", "2", "14");
Vehicle Management System for SMF - SMFGarage.com

RRasco

I am trying to post some form data from one template and subaction to another.  problem is when i submit the data and try to run an INSERT INTO, i get an error from SMF that says 'hacking attempt'.  i had this problem before on another mod i was writing, but that was due to a ';' being in a query.  the query i am running now does not have any spec chars.....any ideas?  an example query is below...

INSERT INTO smf_garage_vehicles (user_id, made_year, engine_type, color, mileage, mileage_unit, price, currency, date_created, date_updated, make_id, model_id) VALUES ("2", "2007", "8 Cylinder Forced Induction", "White", "1", "Miles", "30000", "USD", "1174925253", "1174925253", "2", "14");
Vehicle Management System for SMF - SMFGarage.com

Mummysim

Hi, wondered if anyone could help me.  I keep getting spam in the boards.  I ban the IP and they use another.  It seems automated as I have a forum whereby guests have to become users before they can see and post in the forums.

I have recently upgraded to 2.1.1 and have various mods.

Im not sure how to erradicate this spam.

This is one of them:

65.98.11.170       qwertybb        Best MedicineUS Drugs      Today at 12:12:02 PM
83.243.91.9       Ataraxi        Info atarax online      Today at 05:18:52 AM

and so on...please help!

Thank you

RRasco

I am trying to post some form data from one template and subaction to another.  problem is when i submit the data and try to run an INSERT INTO, i get an error from SMF that says 'hacking attempt'.  i had this problem before on another mod i was writing, but that was due to a ';' being in a query.  the query i am running now does not have any spec chars.....any ideas?  an example query is below...

INSERT INTO smf_garage_vehicles (user_id, made_year, engine_type, color, mileage, mileage_unit, price, currency, date_created, date_updated, make_id, model_id) VALUES ("2", "2007", "8 Cylinder Forced Induction", "White", "1", "Miles", "30000", "USD", "1174925253", "1174925253", "2", "14");
Vehicle Management System for SMF - SMFGarage.com

aalfred

Hallo an alle

Ich bins mal wieder schlagt mich nicht  ;) Es geht darum ich habe die hintergrundfarbe geändert, klappt alles wunderbar nun muss ich aber die Farbe der Links wie z.b. wenn man blättern muss (seite 1, 2 u.s.w) die jetzt schwarz ist und kaum zu erkennen in der style.css habe ich schon gesucht aber ich bin englisch noop  :D

Gruss Andreas

BigMike

Hello SMF,

I did a bit of searching, but even from this topic subject, I don't even know how to word it :P

Basically, what I would like to do, is if my forum has a board "A", then I would like when someone clicks on the board "A", it will take them to a new page that is still database driven, still has the same forum theme, but has content that I would like to manually create via HTML.

Right now, I can only think of two methods..

Method 1:
The link I would like to use is currently /index.php?board=1.0
So what I could do is just have javascript check for that link, and then replace it with a different like, like  /board1.php
Then, the file board1.php needs to be a page that has the same header, but below the header I would like to add my own content. Of course I will need the footer content below my content so that it still appears to be part of the forum.

Method 2:
I can have people click on the link /index.php?board=1.0.
Then when the forum tries to load that board, I can have javascript check for this, and then have it load the default forum header info, but bypass the body content, replace it with my own, and then have it load the footer info also.


I have seen forums do this before, so I was just wondering if there was a more simple way or even a package that can do this? I didn't know how to search for this idea..

Thanks in advance,
BigMike

BigMike

SMF Version: SMF 1.1 RC3
SMF Version: SMF 1.1 RC3
Hello SMF,

I did a bit of searching, but even from this topic subject, I don't even know how to word it :P

Basically, what I would like to do, is if my forum has a board "A", then I would like when someone clicks on the board "A", it will take them to a new page that is still database driven, still has the same forum theme, but has content that I would like to manually create via HTML.

Right now, I can only think of two methods..

Method 1:
The link I would like to use is currently /index.php?board=1.0
So what I could do is just have javascript check for that link, and then replace it with a different like, like  /board1.php
Then, the file board1.php needs to be a page that has the same header, but below the header I would like to add my own content. Of course I will need the footer content below my content so that it still appears to be part of the forum.

Method 2:
I can have people click on the link /index.php?board=1.0.
Then when the forum tries to load that board, I can have javascript check for this, and then have it load the default forum header info, but bypass the body content, replace it with my own, and then have it load the footer info also.


I have seen forums do this before, so I was just wondering if there was a more simple way or even a package that can do this? I didn't know how to search for this idea..

Thanks in advance,
BigMike

rpginsider

I need some help,

I need help with something simple I'm new to SMF and i have a title but i need to make it small enough so that my site can fit it. so if someone can tell me how to reduce the amount of space it takes up without changing the looks of the title or please just point me in the right direction i would greatly appreciate it.

aalfred

Hallo an alle

Ich bins mal wieder schlagt mich nicht  ;) Es geht darum ich habe die hintergrundfarbe geändert, klappt alles wunderbar nun muss ich aber die Farbe der Links wie z.b. wenn man blättern muss (seite 1, 2 u.s.w) die jetzt schwarz ist und kaum zu erkennen in der style.css habe ich schon gesucht aber ich bin englisch noop  :D

Gruss Andreas

tensop

Hi guys, i recently updated our car club and thought i might show it off  :D

Many thanks to all of our car club members, especially to skaface, our other administrator(and a member on these forums) for originally updating to SMF from yabb! :)

our database is ancient.. dating back to 2001 !

http://forum.r31skylineclub.com/index.php

:)


BigMike

SMF Version: SMF 1.1 RC3
SMF Version: SMF 1.1 RC3
Hello SMF,

I did a bit of searching, but even from this topic subject, I don't even know how to word it :P

Basically, what I would like to do, is if my forum has a board "A", then I would like when someone clicks on the board "A", it will take them to a new page that is still database driven, still has the same forum theme, but has content that I would like to manually create via HTML.

Right now, I can only think of two methods..

Method 1:
The link I would like to use is currently /index.php?board=1.0
So what I could do is just have javascript check for that link, and then replace it with a different like, like  /board1.php
Then, the file board1.php needs to be a page that has the same header, but below the header I would like to add my own content. Of course I will need the footer content below my content so that it still appears to be part of the forum.

Method 2:
I can have people click on the link /index.php?board=1.0.
Then when the forum tries to load that board, I can have javascript check for this, and then have it load the default forum header info, but bypass the body content, replace it with my own, and then have it load the footer info also.


I have seen forums do this before, so I was just wondering if there was a more simple way or even a package that can do this? I didn't know how to search for this idea..

Thanks in advance,
BigMike

cracken007

hola tengo un prblema los visitantes no pueden acceder a ver los temas.. como ago para k ellos puedan verlos?¿??¿¿?¿?¿?¿?¿? ayuda!!!!  >:( >:( >:( >:( >:( >:( >:( >:(


Registrate en mi foro y ayudame a creser. www.fzone.ar.gs

RRasco

I am trying to post some form data from one template and subaction to another.  problem is when i submit the data and try to run an INSERT INTO, i get an error from SMF that says 'hacking attempt'.  i had this problem before on another mod i was writing, but that was due to a ';' being in a query.  the query i am running now does not have any spec chars.....any ideas?  an example query is below...

INSERT INTO smf_garage_vehicles (user_id, made_year, engine_type, color, mileage, mileage_unit, price, currency, date_created, date_updated, make_id, model_id) VALUES ("2", "2007", "8 Cylinder Forced Induction", "White", "1", "Miles", "30000", "USD", "1174925253", "1174925253", "2", "14");
Vehicle Management System for SMF - SMFGarage.com

cracken007

SMF Version: SMF 1.1.2
Holaaa ayuda los visitantes no pueden acceder a ver lo temas.. como puedo hacer.. k ellos puedan verlo??!!!!! ayudaaaaaaaa!!!!!  >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:(


Registrate en mi foro y ayudame a creser. www.fzone.ar.gs

Oldjogi

Moinsen,
das ACP-Fehlerprotokoll des SMF 1.1.2de zeigt nach Installation des - Streaming Mod 3 - und des - K-Detection-Mod - regelmäßig folgende Fehler auf:

Quote
8: Undefined index: yt
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 782

Quote8: Undefined index: gv
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 781

Quote8: Undefined index: quick
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 780

Quote8: Undefined index: real
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 779

Quote8: Undefined index: stream
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 778

Quote8: Use of undefined constant br_ico - assumed 'br_ico'
Datei: /usr/export/www/hosting/******/smf/Sources/Post.php
Zeile: 1561

Quote8: Use of undefined constant os_ico - assumed 'os_ico'
Datei: /usr/export/www/hosting/******/smf/Sources/Post.php
Zeile: 1560

Wie kommt das und wie beseitigt man die Fehler?
Guter Rat ist gefragt.

gruß
Oldjogi
...geht doch! Oder nicht?

cracken007

SMF Version: SMF 1.1.2
los visitantes no pueden ver los temas!!! ayudaaaaa como ago k ellos puedan acceder a verlos???!!!!! ayudaaaaa!!!!!  >:( >:( >:( >:( >:( >:( >:( >:( >:( >:( >:(


Registrate en mi foro y ayudame a creser. www.fzone.ar.gs

Oldjogi

Moinsen,
das ACP-Fehlerprotokoll des SMF 1.1.2de zeigt nach Installation des - Streaming Mod 3 - und des - K-Detection-Mod - regelmäßig folgende Fehler auf:

Quote
8: Undefined index: yt
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 782

Quote8: Undefined index: gv
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 781

Quote8: Undefined index: quick
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 780

Quote8: Undefined index: real
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 779

Quote8: Undefined index: stream
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 778

Quote8: Use of undefined constant br_ico - assumed 'br_ico'
Datei: /usr/export/www/hosting/******/smf/Sources/Post.php
Zeile: 1561

Quote8: Use of undefined constant os_ico - assumed 'os_ico'
Datei: /usr/export/www/hosting/******/smf/Sources/Post.php
Zeile: 1560

Wie kommt das und wie beseitigt man die Fehler?
Guter Rat ist gefragt.

gruß
Oldjogi
...geht doch! Oder nicht?

backend

My site runs pretty fast, but my forum doesn't.

So I said, instead of moving the whole thing, why not just move the forums to a new host: is this possible or a good idea?

Will I be able to link the forum back to my website, in a way that my users don't know they are going to a different host?

I am assuming all it takes is a simple forwarding of the forum's IP to my forum's original address (www.mysite.com/smf)?

Thank You

Oldjogi

Moinsen,
das ACP-Fehlerprotokoll des SMF 1.1.2de zeigt nach Installation des - Streaming Mod 3 - und des - K-Detection-Mod - regelmäßig folgende Fehler auf:

Quote
8: Undefined index: yt
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 782

Quote8: Undefined index: gv
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 781

Quote8: Undefined index: quick
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 780

Quote8: Undefined index: real
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 779

Quote8: Undefined index: stream
Datei: /usr/export/www/hosting/******/smf/Themes/default/languages/Post.german.php (eval?)
Zeile: 778

Quote8: Use of undefined constant br_ico - assumed 'br_ico'
Datei: /usr/export/www/hosting/******/smf/Sources/Post.php
Zeile: 1561

Quote8: Use of undefined constant os_ico - assumed 'os_ico'
Datei: /usr/export/www/hosting/******/smf/Sources/Post.php
Zeile: 1560

Wie kommt das und wie beseitigt man die Fehler?
Guter Rat ist gefragt.

gruß
Oldjogi
...geht doch! Oder nicht?

athena

Distressed to find several posts from the last 24 hours missing from my forums.  The threads are there, but several posts GONE.

What happened?  Members - and myself - distressed about this!



thanks,

athena

chr05210084

Hi I have also another questions. What is this error means? I have SMF Joomla bridge installed. This always comes up when I try to register in the furom mainpage not in joomla bridge registration

(preg_replace('~[\s]~' . ($context['utf8'] ? 'u' : ''), ' ', $_POST['realName'])); if (trim($_POST['realName']) != '' && !isReservedName($_POST['realName'], $memID) && $func['strlen']($_POST['realName']) <= 60) $possible_strings[] = 'realName'; } if (isset($_POST['MSN']) && preg_match('~^[0-9A-Za-z=_+\-/][0-9A-Za-z=_\'+\-/\.]*@[\w\-]+(\.[\w\-]+)*(\.[\w]{2,6})$~', $_POST['MSN']) != 0) $profile_strings[] = 'MSN'; // Handle a string as a birthdate... if (isset($_POST['birthdate']) && $_POST['birthdate'] != '') $_POST['birthdate'] = strftime('%Y-%m-%d', strtotime($_POST['birthdate'])); // Or birthdate parts... elseif (!empty($_POST['bday1']) && !empty($_POST['bday2'])) $_POST['birthdate'] = sprintf('%04d-%02d-%02d', empty($_POST['bday3']) ? 0 : (int) $_POST['bday3'], (int) $_POST['bday1'], (int) $_POST['bday2']); // Validate the passed langauge file. if (isset($_POST['lngfile']) && !empty($modSettings['userLanguage'])) { $language_directories = array( $settings['default_theme_dir'] . '/languages', $settings['actual_theme_dir'] . '/languages', ); if (!empty($settings['base_theme_dir'])) $language_directories[] = $settings['base_theme_dir'] . '/languages'; $language_directories = array_unique($language_directories); foreach ($language_directories as $language_dir) { if (!file_exists($language_dir)) continue; $dir = dir($language_dir); while ($entry = $dir->read()) if (preg_match('~^index\.(.+)\.php$~', $entry, $matches) && $matches[1] == $_POST['lngfile']) { // Got it! $found = true; $_SESSION['language'] = $_POST['lngfile']; break 2; } $dir->close(); } if (empty($found)) unset($_POST['lngfile']); } else unset($_POST['lngfile']); // Set the options needed for registration. $regOptions = array( 'interface' => 'guest', 'username' => $_POST['user'], 'email' => $_POST['email'], 'password' => $_POST['passwrd1'], 'password_check' => $_POST['passwrd2'], 'check_reserved_name' => true, 'check_password_strength' => true, 'check_email_ban' => true, 'send_welcome_email' => !empty($modSettings['send_welcomeEmail']), 'require' => !empty($modSettings['coppaAge']) && !isset($_POST['skip_coppa']) ? 'coppa' : (empty($modSettings['registration_method']) ? 'nothing' : ($modSettings['registration_method'] == 1 ? 'activation' : 'approval')), 'extra_register_vars' => array(), 'theme_vars' => array(), ); // Include the additional options that might have been filled in. foreach ($possible_strings as $var) if (isset($_POST[$var])) $regOptions['extra_register_vars'][$var] = '\'' . $func['htmlspecialchars']($_POST[$var]) . '\''; foreach ($possible_ints as $var) if (isset($_POST[$var])) $regOptions['extra_register_vars'][$var] = (int) $_POST[$var]; foreach ($possible_floats as $var) if (isset($_POST[$var])) $regOptions['extra_register_vars'][$var] = (float) $_POST[$var]; foreach ($possible_bools as $var) if (isset($_POST[$var])) $regOptions['extra_register_vars'][$var] = empty($_POST[$var]) ? 0 : 1; // Registration options are always default options... if (isset($_POST['default_options'])) $_POST['options'] = isset($_POST['options']) ? $_POST['options'] + $_POST['default_options'] : $_POST['default_options']; $regOptions['theme_vars'] = isset($_POST['options']) && is_array($_POST['options']) ? $_POST['options'] : array(); $memberID = registerMember($regOptions); // If COPPA has been selected then things get complicated, setup the template. if (!empty($modSettings['coppaAge']) && !isset($_POST['skip_coppa'])) redirectexit('action=coppa;member=' . $memberID); // Basic template variable setup. elseif (!empty($modSettings['registration_method'])) { loadTemplate('Register'); $context += array( 'page_title' => &$txt[97], 'sub_template' => 'after', 'description' => $modSettings['registration_method'] == 2 ? $txt['approval_after_registration'] : $txt['activate_after_registration'] ); } else { setLoginCookie(60 * $modSettings['cookieTime'], $memberID, sha1(sha1(strtolower($regOptions['username']) . $regOptions['password']) . substr($regOptions['register_vars']['passwordSalt'], 1, -1))); redirectexit('action=login2;sa=check;member=' . $memberID, $context['server']['needs_login_fix']); } } function Activate() { global $db_prefix, $context, $txt, $modSettings, $scripturl, $sourcedir; loadLanguage('Login'); loadTemplate('Login'); if (empty($_REQUEST['u']) && empty($_POST['user'])) { if (empty($modSettings['registration_method']) || $modSettings['registration_method'] == 3) fatal_lang_error(1); $context['member_id'] = 0; $context['sub_template'] = 'resend'; $context['page_title'] = $txt['invalid_activation_resend']; $context['can_activate'] = empty($modSettings['registration_method']) || $modSettings['registration_method'] == 1; $context['default_username'] = isset($_GET['user']) ? $_GET['user'] : ''; return; } // Get the code from the database... $request = db_query(" SELECT ID_MEMBER, validation_code, memberName, realName, emailAddress, is_activated, passwd FROM {$db_prefix}members" . (empty($_REQUEST['u']) ? " WHERE memberName = '$_POST[user]' OR emailAddress = '$_POST[user]'" : " WHERE ID_MEMBER = " . (int) $_REQUEST['u']) . " LIMIT 1", __FILE__, __LINE__); // Does this user exist at all? if (mysql_num_rows($request) == 0) { $context['sub_template'] = 'retry_activate'; $context['page_title'] = $txt['invalid_userid']; $context['member_id'] = 0; return; } $row = mysql_fetch_assoc($request); mysql_free_result($request); // Change their email address? (they probably tried a fake one first :P.) if (isset($_POST['new_email'], $_REQUEST['passwd']) && sha1(strtolower($row['memberName']) . $_REQUEST['passwd']) == $row['passwd']) { if (empty($modSettings['registration_method']) || $modSettings['registration_method'] == 3) fatal_lang_error(1); // !!! Separate the sprintf? if (preg_match('~^[0-9A-Za-z=_+\-/][0-9A-Za-z=_\'+\-/\.]*@[\w\-]+(\.[\w\-]+)*(\.[\w]{2,6})$~', stripslashes($_POST['new_email'])) == 0) fatal_error(sprintf($txt[500], htmlspecialchars($_POST['new_email'])), false); // Make sure their email isn't banned. isBannedEmail($_POST['new_email'], 'cannot_register', $txt['ban_register_prohibited']); // Ummm... don't even dare try to take someone else's email!! $request = db_query(" SELECT ID_MEMBER FROM {$db_prefix}members WHERE emailAddress = '$_POST[new_email]' LIMIT 1", __FILE__, __LINE__); // !!! Separate the sprintf? if (mysql_num_rows($request) != 0) fatal_error(sprintf($txt[730], htmlspecialchars($_POST['new_email'])), false); mysql_free_result($request); updateMemberData($row['ID_MEMBER'], array('emailAddress' => "'$_POST[new_email]'")); $row['emailAddress'] = stripslashes($_POST['new_email']); $email_change = true; } // Resend the password, but only if the account wasn't activated yet. if (!empty($_REQUEST['sa']) && $_REQUEST['sa'] == 'resend' && ($row['is_activated'] == 0 || $row['is_activated'] == 2) && (!isset($_REQUEST['code']) || $_REQUEST['code'] == '')) { require_once($sourcedir . '/Subs-Post.php'); sendmail($row['emailAddress'], $txt['register_subject'], sprintf($txt[empty($modSettings['registration_method']) || $modSettings['registration_method'] == 1 ? 'resend_activate_message' : 'resend_pending_message'], $row['realName'], $row['memberName'], $row['validation_code'], $scripturl . '?action=activate;u=' . $row['ID_MEMBER'] . ';code=' . $row['validation_code'])); $context['page_title'] = $txt['invalid_activation_resend']; fatal_error(!empty($email_change) ? $txt['change_email_success'] : $txt['resend_email_success'], false); } // Quit if this code is not right. if (empty($_REQUEST['code']) || $row['validation_code'] != $_REQUEST['code']) { if (!empty($row['is_activated'])) fatal_lang_error('already_activated', false); elseif ($row['validation_code'] == '') { loadLanguage('Profile'); fatal_error($txt['registration_not_approved'] . ' ' . $txt[662] . '.', false); } $context['sub_template'] = 'retry_activate'; $context['page_title'] = $txt['invalid_activation_code']; $context['member_id'] = $row['ID_MEMBER']; return; } // Let the integration know that they've been activated! if (isset($modSettings['integrate_activate']) && function_exists($modSettings['integrate_activate'])) call_user_func($modSettings['integrate_activate'], $row['memberName']); // Validation complete - update the database! updateMemberData($row['ID_MEMBER'], array('is_activated' => 1, 'validation_code' => '\'\'')); // Also do a proper member stat re-evaluation. updateStats('member', false); if (!isset($_POST['new_email'])) { require_once($sourcedir . '/Subs-Post.php'); adminNotify('activation', $row['ID_MEMBER'], $row['memberName']); } $context += array( 'page_title' => &$txt[245], 'sub_template' => 'login', 'default_username' => $row['memberName'], 'default_password' => '', 'never_expire' => false, 'description' => &$txt['activate_success'] ); } // This function will display the contact information for the forum, as well a form to fill in. function CoppaForm() { global $context, $modSettings, $txt, $db_prefix; loadLanguage('Login'); loadTemplate('Register'); // No User ID?? if (!isset($_GET['member'])) fatal_lang_error(1); // Get the user details... $request = db_query(" SELECT memberName FROM {$db_prefix}members WHERE ID_MEMBER = " . (int) $_GET['member'] . " AND is_activated = 5", __FILE__, __LINE__); if (mysql_num_rows($request) == 0) fatal_lang_error(1); list ($username) = mysql_fetch_row($request); mysql_free_result($request); if (isset($_GET['form'])) { // Some simple contact stuff for the forum. $context['forum_contacts'] = (!empty($modSettings['coppaPost']) ? $modSettings['coppaPost'] . '

' : '') . (!empty($modSettings['coppaFax']) ? $modSettings['coppaFax'] . '
' : ''); $context['forum_contacts'] = !empty($context['forum_contacts']) ? $context['forum_name'] . '
' . $context['forum_contacts'] : ''; // Showing template? if (!isset($_GET['dl'])) { // Shortcut for producing underlines. $context['ul'] = '                          '; $context['template_layers'] = array(); $context['sub_template'] = 'coppa_form'; $context['page_title'] = $txt['coppa_form_title']; $context['coppa_body'] = str_replace(array('{PARENT_NAME}', '{CHILD_NAME}', '{USER_NAME}'), array($context['ul'], $context['ul'], $username), $txt['coppa_form_body']); } // Downloading. else { // The data. $ul = ' '; $crlf = "\r\n"; $data = $context['forum_contacts'] . "$crlf" . $txt['coppa_form_address'] . ":$crlf" . $txt['coppa_form_date'] . ":$crlf$crlf$crlf" . $txt['coppa_form_body']; $data = str_replace(array('{PARENT_NAME}', '{CHILD_NAME}', '{USER_NAME}', '
', '
'), array($ul, $ul, $username, $crlf, $crlf), $data); // Send the headers. header('Connection: close'); header('Content-Disposition: attachment; filename="approval.txt"'); header('Content-Type: application/octet-stream'); header('Content-Length: ' . count($data)); echo $data; obExit(false); } } else { $context += array( 'page_title' => &$txt['coppa_title'], 'sub_template' => 'coppa', ); $context['coppa'] = array( 'body' => str_replace('{MINIMUM_AGE}', $modSettings['coppaAge'], $txt['coppa_after_registration']), 'many_options' => !empty($modSettings['coppaPost']) && !empty($modSettings['coppaFax']), 'post' => empty($modSettings['coppaPost']) ? '' : $modSettings['coppaPost'], 'fax' => empty($modSettings['coppaFax']) ? '' : $modSettings['coppaFax'], 'phone' => empty($modSettings['coppaPhone']) ? '' : str_replace('{PHONE_NUMBER}', $modSettings['coppaPhone'], $txt['coppa_send_by_phone']), 'id' => $_GET['member'], ); } } // Show the verification code or let it hear. function VerificationCode() { global $sourcedir, $modSettings, $context, $scripturl; // Somehow no code was generated or the session was lost. if (empty($_SESSION['visual_verification_code'])) header('HTTP/1.1 408 - Request Timeout'); // Show a window that will play the verification code. elseif (isset($_REQUEST['sound'])) { loadLanguage('Login'); loadTemplate('Register'); $context['verificiation_sound_href'] = $scripturl . '?action=verificationcode;rand=' . md5(rand()) . ';format=.wav'; $context['sub_template'] = 'verification_sound'; $context['template_layers'] = array(); obExit(); } // If we have GD, try the nice code. elseif (empty($_REQUEST['format'])) { require_once($sourcedir . '/Subs-Graphics.php'); if (in_array('gd', get_loaded_extensions()) && !showCodeImage($_SESSION['visual_verification_code'])) header('HTTP/1.1 400 Bad Request'); // Otherwise just show a pre-defined letter. elseif (isset($_REQUEST['letter'])) { $_REQUEST['letter'] = (int) $_REQUEST['letter']; if ($_REQUEST['letter'] > 0 && $_REQUEST['letter'] <= strlen($_SESSION['visual_verification_code']) && !showLetterImage(strtolower($_SESSION['visual_verification_code']{$_REQUEST['letter'] - 1}))) header('HTTP/1.1 400 Bad Request'); } // You must be up to no good. else header('HTTP/1.1 400 Bad Request'); } elseif ($_REQUEST['format'] === '.wav') { require_once($sourcedir . '/Subs-Sound.php'); if (!createWaveFile($_SESSION['visual_verification_code'])) header('HTTP/1.1 400 Bad Request'); } // We all die one day... die(); } ?>

cavs4life

Hey guys I am using a theme from this site called tigra. 

When trying to get shop mod to work I need to find this :

#
/ Show how many posts they have made.
#
                       echo '
#
                                                               ', $txt[26], ': ', $message['member']['posts'], '<br />
#
                                                               <br />';
#


and replace it with this:
   1.
                 // BEGIN SMFShop MOD New Version Code
   2.
      // Removed one <br /> from end of post count line.
   3.
      echo '
   4.
      ', $txt[26], ': ', $message['member']['posts'], '<br />
   5.
      ';
   6.
   7.
      echo '
   8.
      ', $modSettings['shopCurrencyPrefix'], $message['member']['money'], $modSettings['shopCurrencySuffix'], '<br /><br />
   9.
      <a href="', $scripturl, '?action=shop;do=invother2;member=', $message['member']['username'], '">View Inventory</a><br />
  10.
      <a href="', $scripturl, '?action=shop;do=sendmoney;member=', $message['member']['username'], '">Send Money to ', $message['member']['name'], '</a><br />';
  11.
      //END SMFShop code
  12.
       


My problem is I cannot find the first sting in the template.php

Can someone help!

athena

Several posts from the last 24 hours are missing in my forums;  though their threads remain.

Frustrating!  Clients upset!

Any assist? 

  (my forums)

Thanks - afraid it is going to occur again!

athena

athena

SMF Version: SMF 1.1.2
Several posts from the last 24 hours are missing in my forums;  though their threads remain.

Frustrating!  Clients upset!

Any assist? 

  (my forums)

Thanks - afraid it is going to occur again!

athena

tensop

hi guys, after recently rolling out a 1.1.2 update i've started to get errors with search.php

http://forum.asdfasdf.com/index.php?action=search2 
Database Error: Unknown error
File: /asdfasdf/forum/htdocs/Sources/Search.php
Line: 1095

http://forum.asdfasdf.com/index.php?action=search2&amp;search=best tyres to buy 
Database Error: Unknown error
File: /asdfasdf/forum/htdocs/Sources/Search.php
Line: 1095

which would be this code

db_query("
INSERT IGNORE INTO {$db_prefix}" . ($createTemporary ? 'tmp_' : '') . "log_search_topics
(" . ($createTemporary ? '' : 'ID_SEARCH, ') . "ID_TOPIC)
SELECT " . ($createTemporary ? '' : $_SESSION['search_cache']['ID_SEARCH'] . ', ') . "t.ID_TOPIC
FROM (" . implode(', ', $subject_query['from']) . ')' . (empty($subject_query['left_join']) ? '' : "
LEFT JOIN " . implode("
LEFT JOIN ", $subject_query['left_join'])) . "
WHERE " . implode("
AND ", $subject_query['where']) . (empty($modSettings['search_max_results']) ? '' : "
**THIS LINE HERE**: LIMIT " . ($modSettings['search_max_results'] - $numSubjectResults)), __FILE__, __LINE__);

$numSubjectResults += db_affected_rows();

if (!empty($modSettings['search_max_results']) && $numSubjectResults >= $modSettings['search_max_results'])
break;

tensop

hi guys, after recently rolling out a 1.1.2 update i've started to get errors with search.php

http://forum.asdfasdf.com/index.php?action=search2 
Database Error: Unknown error
File: /asdfasdf/forum/htdocs/Sources/Search.php
Line: 1095

http://forum.asdfasdf.com/index.php?action=search2&amp;search=best tyres to buy 
Database Error: Unknown error
File: /asdfasdf/forum/htdocs/Sources/Search.php
Line: 1095

which would be this code


LIMIT " . ($modSettings['search_max_results'] - $numSubjectResults)), __FILE__, __LINE__);

kmccann

I know I must be missing something. I have looked all over, or so it seems, and I can't figure out how to get rid of the stars and the "newbie" (or whatever) labels. Like always, it'll probably the last place I look. I really don't want these things. How do I do away with them?

- Kevin

zorkiii

SMF Version: SMF 1.1.2
I gave up trying to fight the evil attacking my forum sometime last year.  I posted a few things months and months before without any success for solutions, so I'm trying again.  Please help.

I checked the Manage Members panel from the Admin page, and there are 77 pages of users from domains like the following:

*@mail.ru
*@cashette.com
*@gawab.com
*@hotboxes.com
*@sereweb.com

and 100's more domain extensions, various user names @whatever.com .  . . it would be nice if these were all of a similar extension, but there are many many variations. 

So what do I do?  I manually added just about all of them months and months ago to the Ban List, and they don't seem to be doing anything at all to stop any of them.

I tried converting back to PHPBB, which I had no problems with (I converted to SMF just to try something new sometime last year) I have had nothing but errors on conversion back to PHPBB,  and have searched hours combing forums and posts to find solutions, and posting my problems without success.

I ask only for clear solutions to this issue, so I can have a working forum again as soon as possible. 

I just upgraded from 1.1 to the most current version as of today, 1.1.2.  That went smoothly, no errors. 

Help please, thanks in advance.



redwall_hp

I upgraded from a pre 1.1 release to 1.1.2. Everything invilving email has vanished! There's no option to make users activate accouints via email (and it's not doing it automatically either. I registered a test account. it just let me in). There's no "email users" page. The only setting I could find involving email at all was the email address field in server settings. The options for using mail servers instead of php sendmail are gone too btw. What's going on?

Advertisement: