Preview Plugin 0.1
Posted by Vulpes
|
Preview Plugin 0.1 May 09, 2001 07:54PM |
It's in attachment, download it, install it, tell me what you think.
NOTE: It's beta, there is some poroblems (like loosing cookie, adding \ before quotes, posibly some others)
so if you have idea on how to fix it, its free to post here, any questions free to post here as well.
This plugin let your visitors preview their message (as it will appear in the forum)
It's highly customizable, the features include:
*Turn it on or off whenever you want (phorum plugin have some bug, so you can 'activate' but cant 'deactivate').
*Choose between button and image (image is not fully tested).
*Custom Text inside/path to image.
*Ability to show only what you want (on/off for Author, Host, E-mail, Date).
*You can 'fix' your post in same page.
*Easy to install, all you need is to add a little code to 3 file.
Please do not make any different copies with some stuff added/changed of it without telling me first.
DOWNLOAD it here:
[hackers.phorum.org]
NOTE: It's beta, there is some poroblems (like loosing cookie, adding \ before quotes, posibly some others)
so if you have idea on how to fix it, its free to post here, any questions free to post here as well.
This plugin let your visitors preview their message (as it will appear in the forum)
It's highly customizable, the features include:
*Turn it on or off whenever you want (phorum plugin have some bug, so you can 'activate' but cant 'deactivate').
*Choose between button and image (image is not fully tested).
*Custom Text inside/path to image.
*Ability to show only what you want (on/off for Author, Host, E-mail, Date).
*You can 'fix' your post in same page.
*Easy to install, all you need is to add a little code to 3 file.
Please do not make any different copies with some stuff added/changed of it without telling me first.
DOWNLOAD it here:
[hackers.phorum.org]
|
Cees Snoek
Re: fix May 21, 2001 03:24PM |
|
Cees
Re: fix May 23, 2001 03:18AM |
|
Re: Preview plugin 0.1 June 05, 2001 10:45AM |
|
act
Re: Preview plugin 0.1 June 11, 2001 02:31AM |
I got this at admin
"Warning: Cannot add header information - headers already sent by (output started at /home/123/b/plugin/plugin.php:15) in /home/123/b/admin/login.php on line 67
version: 3.2.11 | logout
"
and at test page i got this error message
"Warning: Cannot add header information - headers already sent by (output started at /home/123/b/plugin/plugin.php:15) in /home/108-1009/b/post.php on line 104
Warning: Cannot add header information - headers already sent by (output started at /home/108-1009/b/plugin/plugin.php:15) in /home/123/b/post.php on line 174
Any help'd great appriciated.
"Warning: Cannot add header information - headers already sent by (output started at /home/123/b/plugin/plugin.php:15) in /home/123/b/admin/login.php on line 67
version: 3.2.11 | logout
"
and at test page i got this error message
"Warning: Cannot add header information - headers already sent by (output started at /home/123/b/plugin/plugin.php:15) in /home/108-1009/b/post.php on line 104
Warning: Cannot add header information - headers already sent by (output started at /home/108-1009/b/plugin/plugin.php:15) in /home/123/b/post.php on line 174
Any help'd great appriciated.
|
Re: Preview plugin 0.1 June 11, 2001 02:37AM |
|
act
Re: Preview plugin 0.1 June 11, 2001 02:53AM |
yeap!
in the file i change /www/hackers.phorum
to mine,i try both
/home/123/b and ./
$fp = @fopen("./plugin/".$plugindirname."/settings.php","w+");
if($fp) {
fputs($fp,$data);
fclose($fp);
} else {
echo('Permission denied for writing "plugin/'.$plugindirname.'/settings.php", please check file permissions.'."\n<br>");
}
} else {
include('./plugin/'.$plugindirname.'/settings.php');
and
$fp = @fopen("/home/108-1009/b/plugin/".$plugindirname."/settings.php","w+");
if($fp) {
fputs($fp,$data);
fclose($fp);
} else {
echo('Permission denied for writing "plugin/'.$plugindirname.'/settings.php", please check file permissions.'."\n<br>");
}
} else {
include('/home/108-1009/b/plugin/'.$plugindirname.'/settings.php');
in the file i change /www/hackers.phorum
to mine,i try both
/home/123/b and ./
$fp = @fopen("./plugin/".$plugindirname."/settings.php","w+");
if($fp) {
fputs($fp,$data);
fclose($fp);
} else {
echo('Permission denied for writing "plugin/'.$plugindirname.'/settings.php", please check file permissions.'."\n<br>");
}
} else {
include('./plugin/'.$plugindirname.'/settings.php');
and
$fp = @fopen("/home/108-1009/b/plugin/".$plugindirname."/settings.php","w+");
if($fp) {
fputs($fp,$data);
fclose($fp);
} else {
echo('Permission denied for writing "plugin/'.$plugindirname.'/settings.php", please check file permissions.'."\n<br>");
}
} else {
include('/home/108-1009/b/plugin/'.$plugindirname.'/settings.php');
|
act
Re: Preview plugin 0.1 June 11, 2001 02:56AM |
|
act
Re: Preview plugin 0.1 June 11, 2001 10:45AM |
|
Re: Preview plugin 0.1 June 11, 2001 02:37PM |
|
act
Re: Preview plugin 0.1 June 12, 2001 12:51AM |
|
act
Re: Preview plugin 0.1 June 12, 2001 01:06AM |
|
Re: Preview plugin 0.1 June 14, 2001 11:15PM |
|
Re: Preview plugin 0.1 November 03, 2001 01:46PM |
I had to make quite a few changes to this hack to get it to work w/ my set up of phorum version 3.3
Including:
1. Fixed inconsistent Php tags. (Sometimes <? was used, and sometimes <?PHP was used ) My system only recognizes <?PHP
2. Moved 1st three variables in admin.php to a seperate file called info.php
3. fixed spelling mistake in plugin.php previewp_active was spelled preveiwp_active.
Hope this is helpful to anyone trying to use this hack :)
Including:
1. Fixed inconsistent Php tags. (Sometimes <? was used, and sometimes <?PHP was used ) My system only recognizes <?PHP
2. Moved 1st three variables in admin.php to a seperate file called info.php
3. fixed spelling mistake in plugin.php previewp_active was spelled preveiwp_active.
Hope this is helpful to anyone trying to use this hack :)
Sorry, you do not have permission to post/reply in this forum.
