The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#51
|
||||
|
||||
![]()
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 ? |
#52
|
|||
|
|||
![]()
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 .. |
#53
|
||||
|
||||
![]()
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 ![]() |
#54
|
|||
|
|||
![]()
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 |
#55
|
|||
|
|||
![]()
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:
|
#56
|
||||
|
||||
![]()
yep, it is in my admincp dir :
ie. forum/admincp/spaw/ I will try your suggestion now. |
#57
|
||||
|
||||
![]() 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/' |
#58
|
|||
|
|||
![]()
ohh .. leme PM u
|
#59
|
||||
|
||||
![]()
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 ! ![]() |
#60
|
||||
|
||||
![]()
I give up with SPAW.
FCK next |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|