vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Calendar Search and Comments for Events (https://vborg.vbsupport.ru/showthread.php?t=91066)

deathemperor 06-24-2005 10:00 PM

Calendar Search and Comments for Events
 
Calendar Search and Comment For Events is now available as a product. And of course, it is now fully phrased, templates cached

++++++++++++++++++++++++++++++++++++++++++++++++++
UPGRADING
++++++++++++++++++++++++++++++++++++++++++++++++++
If you were using the old Comments For Events (Downloaded before today 10/20/2005),
delete 2 plugin: "Comments for Events" and "Comments for Events - Show Comments".

Then import the XML file.
-----------------------------------------------------------

If you downloaded this hack before 10/22/2005, please download it again to fix the vbulletin options. For installed boards, just reimport the xml file.

This is an old hack I port to vb3.5. Please refer this thread for more information

No file editing, only one template edit, import the product and you're done !.

This is a beta release so there are known issues.

+ Cannot get value from WYSIWYG editor, hence I disabled the WYSIWYG when posting comment either by quick reply or new reply.

if someone can fix I'll be very glad.

Any suggestions are welcome.

*done for my first 3.5 hack*

Thanks

FleaBag 06-25-2005 04:06 PM

Awesome! Very nice hack, can't wait for vB 3.5 to go gold. :)

deta 06-26-2005 06:01 AM

Yey.. Thanks.. I have the Plugin in my testing vb3.5 install...

No Problems..

cu Deta

deathemperor 06-26-2005 07:09 AM

Quote:

Originally Posted by deta
Yey.. Thanks.. I have the Plugin in my testing vb3.5 install...

No Problems..

cu Deta

of course there must be, that's why they released vb3.5 ^^

kall 07-05-2005 10:14 AM

Where are the bitfield phrases?

snyx 07-05-2005 02:13 PM

Quote:

Originally Posted by kall
Where are the bitfield phrases?

a new posts link would be the option this hack is lacking from its predecessor vB 3.x

deathemperor 07-06-2005 01:29 PM

Quote:

Originally Posted by kall
Where are the bitfield phrases?

it is installed via the installer, are you missing it in your ACP after you install this ?

peterska2 07-23-2005 04:28 PM

I'm missing phrases in the permissions manager and get the following error

Quote:

Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 598

There seems to have been a problem with the Forums database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.5.0 Beta 4:

Invalid SQL:
UPDATE vb350b_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Administrators',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '180',
`passwordhistory` = '360',
`forumpermissions` = '1048575',
`attachlimit` = '0',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520831',
`genericoptions` = '31',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`eventcommentpermission` = ''
WHERE usergroupid=6;

MySQL Error : Unknown column 'eventcommentpermission' in 'field list'
Error Number : 1054
Date : Saturday, July 23rd 2005 @ 06:22:11 PM
Script : http://www.**********.co.uk/new/admincp/usergroup.php
Referrer : http://www.***********.co.uk/new/adm...&usergroupid=6
IP Address : ************
Username : peterska2
Classname : vb_database

deathemperor 07-24-2005 04:09 PM

peterska2, did you run the installer ?

FleaBag 07-31-2005 10:08 PM

I'm missing the phrases too - and I did run the installer, sucessfully. Using RC1. Might I suggest an export as a product?

EasyTarget 08-01-2005 02:31 AM

great idea, keep it going.

nexialys 09-06-2005 06:14 PM

... the installer have no phrases to add, there are missing parts though...

can this release be updated ?!

deathemperor 09-07-2005 12:59 AM

it was coded for beta 2, I didn't upgrade it to be fully phrased. Sorry everyone I am busy at school and some projects I'm taking, I wil absolutely upgrade this hack, perhaps we should just wait for the Gold 3.5.

Thanks for your understanding.

nexialys 09-07-2005 05:10 PM

Quote:

Originally Posted by deathemperor
Thanks for your understanding.

yeah, i understand it completely, i knew it was not a final version...

i will report to you what is not done actually:

1- you did not use the proper $vbulletin->GPC[] structure for the globalised inputs... so it's impossible this script was tested for 3.5... look:
PHP Code:

        // get values in this way it's faster and more secure using vb fuction globalsize()
        
$vbulletin->input->clean_array_gpc('p',array(
            
'keyword' => TYPE_NOHTML,
            
'searchfor' => TYPE_NOHTML,
            
'searchdate' => TYPE_NOHTML,
            
'_order' => TYPE_NOHTML,
            
'orderby' => TYPE_NOHTML,
            
'beforeafter' => TYPE_NOHTML
        
));
        
// if string search is too short (less than 3 char)
        
if (strlen($keyword) < 3)
        {
                eval(
print_standard_error('searchnametooshort'));
        } 

the "if (strlen($keyword) < 3)" will never find its content, as we need to use "$vbulletin->GPC['keyword']" instead... and this is it abroad your script actually... some changes are to be planned.. ;)

EDIT: for the calendar_quickreply, it's not compatible with the new editor, so half the features are not working... will have to be fixed!

for the others, just phrases, but actually it's not a problem i think... just the permissions sentences are needed.

and if you have time, i don't think it would be useful to wait 'til 3.5 Gold, your code use the minimum of vB codes actually, it will be easy to integrate in the final...

Bojangles 09-13-2005 07:42 AM

Installed and but found out the phrases were not installed, so it won't work (like other people have posted). If anyone can get this working, it'd be really awesome.

Vizionz 09-15-2005 10:45 PM

noww i get a error when editing usergroups how can i drop
'eventcommentpermission' in 'field list'

deathemperor 09-16-2005 09:01 AM

to drop it you should know SQL language then open MySQL server -> table usergroup -> drop field eventcomment permission

Reeve of shinra 10-03-2005 03:08 AM

Oh man, I didn't know you ported this over or I would've went with 3.5 RC for a new site. crap. LOL

Anyone using this on gold yet?

deathemperor 10-03-2005 03:12 AM

I think it won't work for gold, I'll spend sometimes modify this as a product so that everything will be better.

you can wait for the update soon ^^

Reeve of shinra 10-03-2005 03:18 AM

cool beans, thank you.

DivisionByZero 10-03-2005 03:53 AM

Yes, I need this too.... for 3.5 gold :) Thanks!

deathemperor 10-03-2005 03:55 AM

anyway this will be changed to be a plugin, because it won't require to upload any files, just an xml file and everything is done.

banjolawyer 10-04-2005 03:44 PM

Quote:

Originally Posted by deathemperor
anyway this will be changed to be a plugin, because it won't require to upload any files, just an xml file and everything is done.

I will install when it is ready for 3.5 gold. Thx.

FleaBag 10-11-2005 01:35 PM

I am not able to edit any usergroups because I am getting the error a few posts above. The fix you have here does not work, because there is nothing in the usergroup table that has anything to do with eventcomment, or named eventcomment.

EDIT: I realised I had to delete the bitfield XML and rebuild the bitfields. ;)

Reeve of shinra 10-19-2005 11:22 PM

fleabag, are you using this on 3.5 gold?

deathemperor 10-20-2005 01:16 AM

Calendar Search and Comment For Events is now available as a product.

++++++++++++++++++++++++++++++++++++++++++++++++++
UPGRADING
++++++++++++++++++++++++++++++++++++++++++++++++++
If you were using the old Comments For Events (Downloaded before today 10/20/2005),
delete 2 plugin: "Comments for Events" and "Comments for Events - Show Comments".

Then import the XML file.
-----------------------------------------------------------

and of course, fully phrased.

LoOnEyToOnZ 10-20-2005 05:24 AM

So does this work for 3.50 gold ?

deathemperor 10-20-2005 05:36 AM

yes it does.

Reeve of shinra 10-20-2005 11:48 PM

You rock!

hugh_ 10-21-2005 05:37 PM

Please help!

I followed your instructions for installing this extension but it's broken my calendar so that I get an sql error message (below) when any users tries to access any event...

hugh

deathemperor 10-21-2005 05:51 PM

d-oh !

the vboptions were not downloaded it the product xml file, zip updated. Please import the xml file again.

hugh_ 10-21-2005 05:55 PM

Quote:

Originally Posted by deathemperor
d-oh !

the vboptions were not downloaded it the product xml file, zip updated. Please import the xml file again.

trying now...

hugh

hugh_ 10-21-2005 06:01 PM

Quote:

Originally Posted by hugh_
trying now...

hugh

Having just overwritten the old import i get a new error message when I click to view an event. What should I do?

Thanks...

hugh

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT * FROM eventcomments
WHERE eventid=1738;

MySQL Error : Table 'vbulletin.eventcomments' doesn't exist
Error Number : 1146
Date : Friday, October 21st 2005 @ 02:04:06 PM
Script : http://www.partyvibe.com/vbulletin/c...2005-10-27&c=1
Referrer : http://www.partyvibe.com/vbulletin/calendar.php
IP Address : 62.254.128.6
Username : Site
Classname : vb_database

deathemperor 10-21-2005 06:08 PM

uninstall -> import again.

if you can't uninstall, Edit Event Comments Product -> Remove the uninstall code -> Choose Uninstall.

one question, are you using table prefix ?

hugh_ 10-21-2005 06:15 PM

Quote:

Originally Posted by deathemperor
uninstall -> import again.

if you can't uninstall, Edit Event Comments Product -> Remove the uninstall code -> Choose Uninstall.

one question, are you using table prefix ?

uninstall didn't work until i removed the uninstall code. having done that i can view events again, but i get an error message when i try to reply...

hugh
----

Warning: Unknown(/home/httpd/html/vbulletin./includes/functions_wysiwyg.php): failed to open stream: No such file or directory in /calendar.php(131) : eval()'d code on line 406

Fatal error: (null)(): Failed opening required '/home/httpd/html/vbulletin./includes/functions_wysiwyg.php' (include_path='.:/usr/lib/php') in /home/httpd/html/vbulletin/calendar.php(131) : eval()'d code on line 406

FleaBag 10-22-2005 12:06 AM

Hey thanks for the update! I also had the issues with uninstall mentioned above... When I try to reply though I get this error.

Code:

Warning: Unknown(/www/dragonninja./includes/functions_newpost.php): failed to open stream: No such file or directory in /calendar.php(131) : eval()'d code on line 413

Fatal error: (null)(): Failed opening required '/www/dragonninja./includes/functions_newpost.php' (include_path='.') in /www/dragonninja/calendar.php(131) : eval()'d code on line 413

ALTHOUGH... The comments ARE being posted [at least they show up in the preview when I hit back and refresh the page]. When trying to view an event I have posted a comment to, I get the following error.

Code:

Warning: Unknown(/www/dragonninja./includes/class_bbcode_alt.php): failed to open stream: No such file or directory in /calendar.php(1001) : eval()'d code on line 87

Fatal error: (null)(): Failed opening required '/www/dragonninja./includes/class_bbcode_alt.php' (include_path='.') in /www/dragonninja/calendar.php(1001) : eval()'d code on line 87


Darkmeteor 10-25-2005 01:08 PM

hello,

I am too getting this error :

Code:

Warning: Unknown: failed to open stream: No such file or directory in /calendar.php(131) : eval()'d code on line 413

Fatal error: Unknown: Failed opening required '/var/www/forum./includes/functions_newpost.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/forum/calendar.php(131) : eval()'d code on line 413

After a fresh install, I have setup the perms and tried creating an event and replying to it.

Darkmeteor 10-25-2005 01:55 PM

and I fixed the error :)

in the 2 modules there are some requires which looks like this :

PHP Code:

require_once(DIR './includes/whatever.php'); 

couldn't work since it was looking in /var/www/forum./includes/whatever.php (as written in the fatal error)

so I made it look like this

PHP Code:

require_once(DIR '/includes/whatever.php'); 

and it works fine now.

for your information there are 5 occurence of this bug in the comments module and 1 in the show comments module

deathemperor 10-25-2005 02:49 PM

Thanks Darkmeteor for the point out, zip file updated, please download it and import choose replacing.

FleaBag 10-27-2005 09:56 PM

No longer getting that error - but BB Codes are not being parsed in the event comment sigs. Also, the editor does not appear as elsewhere in the site.

Screenshots attached.

Thanks for the continued support of this hack, great to have it running. :)


All times are GMT. The time now is 03:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01359 seconds
  • Memory Usage 1,838KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete