![]() |
p.s. At this point in time, I am about 90% done, left with a comment validation system, article search feature for frontend, install script, and perhaps some small icon creation.
It would help speed things up if i could have some person(s) volunteer to do the nifty graphics, and install script, as well as volunteer to be beta testers as it will be released soon for beta testing. :) ------------------------------------ edit: article search done. :D |
would be extremely great if there will be an importer from the v3 article hack...
|
Well Zorobz, I have not used that hack myself and so don't know what it has done to store the articles and such.
Could be done as an add-on though, to give some the option of switching if they so desire. If someone wishes to volunteer to write an importer of sorts, drop me a PM too and I will provide the tables structure for my hack ;) p.s. almost done with the comment validation system now too. Eyes are tired ... must .... must carry on .... :D |
Cinq; is it possible to attatch standard files to articles? If so, where do they appear?
|
Nope, not by default.
|
Ah ok - can I make it a suggestion, then?
I can imagine a *lot* of tutorial based things will be wanting to attatch files other than images. |
pheww...comment validation done.
Time to get some rest before embarking on installation script .... more updates tomorrow...i hope...;) |
Quote:
|
Tried integrating SPAW again, and again to no avail.
Seems to work when I upload it to my server ( just spaw demo ), but I cannot get it to work in my hack on localhost... bummer. Does any one here use SPAW ? Should I just not include any WYSIWYG editor ? ie. no article images upload facility ... ( which most article require though I suspect ) |
noo!! keep working cinq ... i no u can do it... spaw or some other editor with upload capability .. is a must ...
but spaw is the coolest! where does it break? I may be able to help u |
For my own use, I already purchased another WSYIWYG editor which integrates real easy and allows for image uploads and even sorting by folders etc.
I have an idea of how it can be done with Spaw as well ( making use of its dynamic img lib feature ). Currently, when you add an article, the article 'pre-add' handler lets you input the article title first. It then checks the db for the last id entry and increases this count by one to create a folder in your set article img directory. This folder is the placeholder for this particular article's image(s). This path ( the folder ) can be passed into the dynamic img lib array of Spaw, so that it looks into this folder for either img uploads or inserting of images into the article content. All this sounds well and good, but at this point in time, I CANT EVEN GET THE EDITOR TO SHOW properly and it is really fustrating. It gives me all sorts of warnings about not being able to include the neccessary config/control files in the spaw package. And if I change a lot of the variables in the spaw config files, and do get rid of the warning erros ( hardcoded paths just to test mind you ...for e.g. C:/program files/wamp/www/spaw/config.blah blah ), the warning messages go away, the textarea box shows, but with no WYSIWYG editor interface, just the empty white textarea..... arghh. any ideas Solox ? |
I was having similar path issues .. i manually entered these two variables to fix the path problems (in spaw_control.config.php) ..
$_SERVER['DOCUMENT_ROOT'] = '/home/html'; $HTTP_SERVER_VARS["DOCUMENT_ROOT"] = '/home/html'; spaw will not load properly if it cannot determine some of the paths .. try this and see if it helps .. |
Ok, I placed the spaw directory into the admincp dir.
I amended the spaw_control.config.php accordingly and this is what it is at the moment ( just the first few lines .. ): PHP Code:
PHP Code:
PHP Code:
Any ideas ? p.s. thanks for the paths thingy :) |
I notice u say spaw dir is /spaw/
its not under the root dir if i am reading your config files properly. Put your entire spaw dir in root and change the include line. OR change the spaw dir accoring to the proper relative url |
I am still not convinced spaw is finding all material it needs ..
can u put spaw in root dir and try this block in the config? PHP Code:
|
yep, it is in my admincp dir :
ie. forum/admincp/spaw/ I will try your suggestion now. |
Quote:
But I cannot change $spaw_dir = '/spaw/'; to $spaw_dir = 'c:/program files/wamp/www/forum/admincp/spaw/'; based on the code here : https://vborg.vbsupport.ru/showpost....9&postcount=53 Since : $spaw_root = 'c:/program files/wamp/www/forum/admincp'.$spaw_dir; Changing it would make $spaw_root 'c:/program files/wamp/www/forum/admincp'.'c:/program files/wamp/www/forum/admincp/spaw/' |
ohh .. leme PM u
|
Close to 2 hrs of debugging SPAW with SoloX later, it still doesn't work .... darn it :(
Thanks for the help though SoloX, appreciate it greatly ! :D |
I give up with SPAW.
FCK next |
Just an update, optimized several queries with some help here
Working on a report comment, edit comment, delete comment feature now. Once done, will download FCK and give it a go. I think I will then wrap things up with an installation script ( 40+ templates, many settings and phrases to create, plus 4 db tables creation ) , if FCK goes smoothly .... unlike spaw ... |
woo hoo! can't wait to see this hack! :)
|
Quote:
|
Quote:
please share the knowledge :o |
Quote:
|
report comment, edit and delete comment done.
FCK's basic WSYIWYG integration works too, now working on the image upload handling in FCK. :D |
something like this
PHP Code:
|
I don't think your code does what I need it to do.
I need to query 2 times first to know if there are next or previous articles available. In your code, if($nextone) or if($previousone) has no value initially... |
Hmm FCK's default resource browser is really confusing. I have stripped away code to simplify it but not exactly giving the full functionality I would hope for.
ie. when adding an article, a folder for that article for its images is automagically created and when browsing should be only able to see this created folder. However it now sees all folders. There is no way to pass the folder path to FCK to tell it to dynamically only show that particular folder. It just means that you will have to manually search for the folder ( i will provide an folder number for you to search for ), click on it, to show all the images, or upload images there as well. If this sounds about good, I consider this hack done and I will move on to the installation script. Please let me know. |
Quote:
i.e. HTML Code:
<a href="http://localhost/forums/article.php?a=104845&nextone">next one</a> |
|
Quote:
|
Unfortunately nope.
I would be interested to know too. |
Quote:
PHP Code:
|
Thanks again Alex, appreciate it :)
I will try your code when time permits. |
All times are GMT. The time now is 06:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|