| Autor |
Nachricht |
satyr
phpBB2.de User


Anmeldungsdatum: 13.11.2002
Beiträge: 562
|
Verfasst am:
Do 29 Sep, 2005 05:41 |
  |
Den letzten Code finde ich so nicht.
Aber ich habe folgendes entfernt:
| Code: |
| <img border="0" src="bbcode_box/images/web.gif" width="24" height="20" name="web" type="image" onclick="BBCweb()" onmouseover="helpline('web')" style="border-style: outset; border-width: 1" alt="Wep Page"> |
Ist das so richtig?  |
|
|
    |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
morpha
Support Team Member

Anmeldungsdatum: 26.11.2004
Beiträge: 1218
|
Verfasst am:
Do 29 Sep, 2005 08:37 |
  |
|
   |
 |
satyr
phpBB2.de User


Anmeldungsdatum: 13.11.2002
Beiträge: 562
|
Verfasst am:
Do 29 Sep, 2005 08:42 |
  |
Dankifein.  |
|
|
    |
 |
Stonedman
phpBB2.de User

Anmeldungsdatum: 23.05.2005
Beiträge: 1
|
Verfasst am:
Di 04 Okt, 2005 02:20 |
  |
Thanks very Much it is greatly appreciated that so many people take the time to provide this wonderful addition to phpBB2. |
|
|
   |
 |
Blisk
phpBB2.de User

Anmeldungsdatum: 27.11.2003
Beiträge: 994
Wohnort: sLOVEnia
|
Verfasst am:
Di 04 Okt, 2005 12:09 |
  |
Is there somebody trying to fix tihs bcc code. |
|
|
    |
 |
unTouched
phpBB2.de User

Anmeldungsdatum: 21.05.2004
Beiträge: 444
Wohnort: Waldenburg
|
Verfasst am:
Di 04 Okt, 2005 15:41 |
  |
there is no possibility to fix this bbcode because this is a browser problem - if you use iframes on a page the context of the iframe is shown in user context... anybody could create a page which does something bad with user or user cookies ... and there is no possibility to control pages which are posted with [web] ...
there will never come a fix... only fix is to give the right to post web bbcode to special users or an user group ... --> i gave it to administrators (simply fixed by 2 lines:
| Code: |
//only admin - check
global $userdata;
if ($userdata['user_level'] == ADMIN)
{
... here the [web] bbcode lines
}
//else do nothing
|
... but i don't know wether it is good to have $userdata as a global in the bbcode functions ... so disabling ist the best 4 most
Pete®
p.s. sorry 4 bad english i'm from germany ^^ |
_________________
|
|
     |
 |
cback
phpBB2.de User
 [KB] Manager

Anmeldungsdatum: 16.01.2004
Beiträge: 3321
Wohnort: Saarland
|
Verfasst am:
Di 04 Okt, 2005 17:08 |
  |
Write [web][/web] as guest and now look as Admin and bong "the trap beats close" (Die Falle schlägt zu LOL)  |
_________________ [ Forensoftware | CBACK Software | SYNTACTION ]
Support only in Forum! - Support nur im Forum! |
|
     |
 |
unTouched
phpBB2.de User

Anmeldungsdatum: 21.05.2004
Beiträge: 444
Wohnort: Waldenburg
|
Verfasst am:
Mi 05 Okt, 2005 11:16 |
  |
in my forum no guest have right to post anything... and why should a guest pass the condition if ($userdata['user_level'] == ADMIN ) ... how should he do it?
Pete® |
_________________
|
|
     |
 |
morpha
Support Team Member

Anmeldungsdatum: 26.11.2004
Beiträge: 1218
|
Verfasst am:
Mi 05 Okt, 2005 14:18 |
  |
If a guest/user/mod, anyone who has a lower userlevel than 1 (admin), uses [web][/web] in a post, it will be shown as plain text.
BUT it will be parsed if the admin is reading the post and bong "the trap beats close"
______________________________________________________________________________________
Das Problem ist, wenn der Gast [web]http://www.phpbb2.de[/web] schreibt, steht es so da, wird also nicht geparst.
Sieht sich der Admin den Beitrag an, wird es allerdings geparst!
Das gilt natürlich für Mitglieder und Moderatoren auch, wie cback schon sagte, kommt der Admin "bong 'the trap beats close"'
______________________________________________________________________________________
Google trans.:
The problem is, if the guest [ web]http://www.phpbb2.de[/web ] writes, stands it so there, is thus not geparst. If the Admin regards the contribution, it is however geparst! That applies naturally to members and moderators also, as cback already said, comes the Admin "bong ' the trap beats CLOSE" ' |
_________________ morphorum.com : Suche | FAQ | Downloads | Mail an Admin
phpbb2.de : Suche | FAQ |
|
   |
 |
unTouched
phpBB2.de User

Anmeldungsdatum: 21.05.2004
Beiträge: 444
Wohnort: Waldenburg
|
Verfasst am:
Do 06 Okt, 2005 14:02 |
  |
nope i changed the code that the bbcode_first_pass use this check... so an admin can post the web bbcode and all others can see the iframe... ... onlye admin can post it!!! only if i "quote" and send it again the web will be parsed... which admin should do so? *g*
Pete® |
_________________
|
|
     |
 |
cback
phpBB2.de User
 [KB] Manager

Anmeldungsdatum: 16.01.2004
Beiträge: 3321
Wohnort: Saarland
|
Verfasst am:
Do 06 Okt, 2005 14:07 |
  |
Ah you have done this in BBCode ID System? Okay then... I thought you just used this into the parser itself. |
_________________ [ Forensoftware | CBACK Software | SYNTACTION ]
Support only in Forum! - Support nur im Forum! |
|
     |
 |
unTouched
phpBB2.de User

Anmeldungsdatum: 21.05.2004
Beiträge: 444
Wohnort: Waldenburg
|
Verfasst am:
Do 06 Okt, 2005 14:44 |
  |
hmmm mal zurück auf deutsch *g* ich habe in der bbcode.php in der first pass eingebaut, dass der web teil nur geparst wird wenn ein admin zugange ist... -> also kann ein gast meineserachtens nix anstellen selbst wenn er [web] ... postet wird ja nicht nochmal "first_pass" "gemacht" sondern nur second pass für die richtige anzeige... jo und second pass wird ungeparsten [web] nicht darstellen sondern nur einen der schon vorbereitet wurde *hoffdasdasstimmt* ...
Pete®
p.s. ist mein englisch soooo schlecht? *übenmuss* |
_________________
|
|
     |
 |
cback
phpBB2.de User
 [KB] Manager

Anmeldungsdatum: 16.01.2004
Beiträge: 3321
Wohnort: Saarland
|
Verfasst am:
Do 06 Okt, 2005 14:58 |
  |
Ja, das kann man auch so machen weil ohne die BBCode UID läuft nichts. Ich habe das erst so aufgefasst (wie ich es schon mal hier irgendwo gelesen habe) dass jemand beim Verarbeiten das davorsetzte, das first pass wird natürlich dann auch bei Gästen oder Registrierten Usern ausgeführt. Wenn mans aber mit der Befugnis gleich bei First Pass definiert sollte es funktionieren, zumindest so lange bis der Admin "Edit" drückt und dann wieder absendet (also nen Beitrag von einem der das Probiert hat).
Keine Ahnung obs nich welche gibt die das dann machen wenn [web] nicht umgesetzt wurde, also raus is das beste, aber wer sich auskennt und darauf nicht verzichten kann/will der kanns auch so machen wie Du, da bsteht kein Risiko. |
_________________ [ Forensoftware | CBACK Software | SYNTACTION ]
Support only in Forum! - Support nur im Forum! |
|
     |
 |
unTouched
phpBB2.de User

Anmeldungsdatum: 21.05.2004
Beiträge: 444
Wohnort: Waldenburg
|
Verfasst am:
Do 06 Okt, 2005 15:44 |
  |
gut dann belassen wir es dabei und ich werde den code nicht posten - wer sich im phpBB auskennt bekommt das in 2min auch selber hingefrickelt *g*,
eigentlich hätte es gereicht nur die first pass zu bearbeiten? so gehen ja die iframes von früher nicht verloren? - falls man keine neuen haben mag...
Pete® |
_________________
|
|
     |
 |
cback
phpBB2.de User
 [KB] Manager

Anmeldungsdatum: 16.01.2004
Beiträge: 3321
Wohnort: Saarland
|
Verfasst am:
Do 06 Okt, 2005 15:45 |
  |
Also die bereits geposteten bleiben dabei stehen, logisch, allerdings wenn das Board noch läuft, waren die bereits geposteten ohne mögliche Gefahren.
Kann höchstens noch nachträglich geändert werden, wenn bei den verlinkten Seiten die Seite die verlinkt wurde geändert wird. *grinz* |
_________________ [ Forensoftware | CBACK Software | SYNTACTION ]
Support only in Forum! - Support nur im Forum! |
|
     |
 |
|
|
|
|