11
jdseymour
Re: Crafty Syntax Live Help - Anyone have any feedback?

Sounds great giba. The next version of this program is 50% complete, so may want to keep an eye on that too.

12
jdseymour
Re: Crafty Syntax Live Help - Anyone have any feedback?

Quote:

jdseymour wrote:
Well it partially worked, I guess.LOL

Here is the username I got:
Can you tell from that what is wrong?


Well it does not look like the script, when generated is complete:


<script type="text/javascript" src="/livehelp/livehelp_js.php?relative=Y&department=2&pingtimes=30&username=$_SESSION[">script>


Looks like it strips xoops_username for some reason.

BTW, I tried completing the script manually, broke my theme.

13
Mithrandir
Re: Crafty Syntax Live Help - Anyone have any feedback?

Sorry, can't help you more than this.

Perhaps check the use of " and '

And perhaps the
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

14
jdseymour
Re: Crafty Syntax Live Help - Anyone have any feedback?

Well, thanks. You gave me a starting point. Will play with it as I have the time.

15
jdseymour
Re: Crafty Syntax Live Help - Anyone have any feedback?

It seems to have been a coding problem on Crafty Syntax's part.

Here is the developers response in their forum:

Quote:
oops.. I named that field username.. I am using that for somthing else..

change that field to phpusername:

Lines #261-#264:
Code:

if(!(empty($UNTRUSTED['phpusername'])))
$usernamehtml = $amp . "username=". $UNTRUSTED['phpusername'];
else
$usernamehtml = "";


line: #181
Code:



Generated the HTML with no troubles this time. Will let you know how it works.

16
jdseymour
Re: Crafty Syntax Live Help - Anyone have any feedback?

OK, I made the above changes. The javascript is no longer truncated when it is created, and it does not break my theme.

But, it still shows the user as "
I asked if it was an error in the XOOPS syntax causing the problem. His answer was:

Quote:
you need to make an XOOPS module for it so that the
php code is parsed.


Now, what kind of module would I make for this just to parse the PHP code? I do not fully understand his statement.

TIA.

Login

Who's Online

251 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 251


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits