Volledige versie bekijken : Shoutbox is niet zichtbaar (phpbb2)



Trax
12 October 2006, 11:59
Ik heb via een site een gratis shoutbox gemaakt. Deze krijg je dan de code (met iframes) voor en moet je gewoon in je eigen site plakken. Maar in welk bestand moet ik nu juist die code plakken. Als ik hem in index_body.tpl of viewforum_body.tpl plaats zie ik het wel staan in dreamweaver maar niet na uploaden!

Welke pagina's moet ik dan aanpassen? Of hoe ik krijg ik die shoutbox naast mijn forum?

Alvast bedankt!

Mattehh
12 October 2006, 12:58
Je gebruikt best de mods van Phpbb zelf (voor een shoutbox bv).
Neem hier (http://phpbbhacks.com/searchresults.php?version=2&query=shoutbox&search_type=1&Submit=Go) bv een kijkje.

Trax
12 October 2006, 14:06
Merci, ik zal het eens bekijken, maar mijn vorige pogingen om zo'n hack te importeren waren slecht afgelopen. Ik heb namelijk het forum waarvoor het is zelf al zwaar liggen modden en skinnen en dan wil dat zo niet meer zo goed lukken... :)

Trax
12 October 2006, 15:03
Ik had het perfect volgens de handleiding geinstalleerd, maar als ik in mijn configuratiepaneel van mijn phpbb2 op shoutbox klik krijg ik dit:

phpBB : Fatale fout

Could not query shoutbox config information

DEBUG MODE

SQL Error : 1146 Table 'paljasforum.SHOUTBOX_CONFIG_TABLE' doesn't exist

SELECT * FROM SHOUTBOX_CONFIG_TABLE

Line : 36
File : admin_shoutbox.php


Maar die table is er wel, zie link hieronder:

http://users.edpnet.be/trax/junk/php_myadmin_jpg.jpg

Icemar
12 October 2006, 15:44
Line : 36
File : admin_shoutbox.php
plak deze regel eens hier van deze file

Trax
12 October 2006, 16:14
Voor alle duidelijkheid heel de file: http://users.edpnet.be/trax/junk/shoutbox.rar

Icemar
12 October 2006, 17:44
welke mod heb je genomen van php kan je die link ook ff hier zetten als je wil

Mattehh
12 October 2006, 20:03
welke mod heb je genomen van php kan je die link ook ff hier zetten als je wil
Die staat toch boven je ?

Icemar
12 October 2006, 20:05
staan meedere linken van een shoutbox Mat en hou niet zo van zoeken

Trax
13 October 2006, 08:32
De deze, alvast nogmaals bedankt. Ik hoop dat ik het vandaag aan de praat krijg.

http://phpbbhacks.com/download/1595

Icemar
13 October 2006, 10:35
heb je ook deze waardes in gegeven in de tabel ??

INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('allow_guest_view','1');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('allow_guest','0');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('allow_delete_all','0');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('allow_delete','0');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('allow_edit_all','0');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('allow_edit','0');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('allow_bbcode','1');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('allow_smilies','1');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('links_names','1');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('make_links','1');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('count_msg','100');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('delete_days','30');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('text_lenght','500');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('word_lenght','90');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('date_format','D G:i');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('date_on','1');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('shoutbox_on','1');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('shout_width','630');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('shout_height','130');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('banned_user_id','');
INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES ('banned_user_id_view','');

Mattehh
13 October 2006, 10:38
staan meedere linken van een shoutbox Mat en hou niet zo van zoeken
Ik bedoelde niet mijn link, maar zijn link

Voor alle duidelijkheid heel de file: http://users.edpnet.be/trax/junk/shoutbox.rar

Maar goed, laten we hier niet verder op ingaan :)

Trax
13 October 2006, 11:15
Ja, een keer manueel en een keer via de install file.

Icemar
14 October 2006, 01:51
sla dit onderste op als sql.php

en dan uplaoden op de server en da in je browser deze laten draaien
en dan zou je shoutbox moeten werken
dus je http ziet er als het goed is dan zo uit

http://hier je domeinaam/sql.php


<?php

$sql = array (
0 => 'CREATE TABLE phpbb_shoutbox_config (
config_name varchar(255) NOT NULL,
config_value varchar(255) NOT NULL,
PRIMARY KEY (config_name)
)',
1 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'allow_guest_view\',\'1\')',
2 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'allow_guest\',\'0\')',
3 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'allow_delete_all\',\'0\')',
4 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'allow_delete\',\'0\')',
5 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'allow_edit_all\',\'0\')',
6 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'allow_edit\',\'0\')',
7 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'allow_bbcode\',\'1\')',
8 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'allow_smilies\',\'1\')',
9 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'links_names\',\'1\')',
10 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'make_links\',\'1\')',
11 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'count_msg\',\'100\')',
12 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'delete_days\',\'30\')',
13 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'text_lenght\',\'500\')',
14 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'word_lenght\',\'90\')',
15 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'date_format\',\'D G:i\')',
16 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'date_on\',\'1\')',
17 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'shoutbox_on\',\'1\')',
18 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'shout_width\',\'630\')',
19 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'shout_height\',\'130\')',
20 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'banned_user_id\',\'\')',
21 => 'INSERT INTO phpbb_shoutbox_config (config_name, config_value) VALUES (\'banned_user_id_view\',\'\')',
);

@set_time_limit(0);
if(!@file_exists('config.php')) die('config.php not found. make sure you have uploaded file to your forum directory.');
include('config.php');
$db = mysql_connect($dbhost, $dbuser, $dbpasswd);
if(!$db) die('Cannot connect: ' . mysql_error());
$res = mysql_select_db($dbname);
if(!$res) die('Cannot select database "' . $dbname . '": ' . mysql_error());
for($i=0; $i<count($sql); $i++)
{
if($table_prefix !== 'phpbb_') $sql[$i] = preg_replace('/phpbb_/', $table_prefix, $sql[$i]);
$res = mysql_query($sql[$i]);
if(!$res) { echo 'error in query ', ($i + 1), ': ', mysql_error(), '<br />'; }
}
echo 'done (', count($sql), ' queries).';

?>

Trax
19 October 2006, 10:04
Sorry voor de vertraging, maar het werkt nog steeds niet. De sql wordt goed verwerkt, maar in mijn phpbb administratiepaneeltje als ik links op shoutbox klik, dan staat er nog steeds hetzelfde probleem.

Damn.

Icemar
19 October 2006, 11:51
is het mogelijk dat je al je bewerkte en onbewerkte file kan plaatsen hier of via pm kan opsturen dat we deze kunnen na kijken want ergens staat een foutje is en zo zonder deze files kan ik je niet verder helpen helaas

Trax
24 October 2006, 08:45
Bedankt voor alle hulp tot nu toe, maar dit staat even in de wacht.

Icemar
24 October 2006, 08:51
bedankt dat je het netjes mald als je weeer verder kan dan horen we het wel