The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
text in a TAG
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
text in a TAG
PHP Code:
ON=@LOGIN
IF (<src.age> < 10) && (<src.create> > 60)
    IF (!<
src.account.TAG0.email>)  //<-- line 241
        
src.dialog d_p_setemail
    
ENDIF
ENDIF 

It gives me:

Code:
19:45:ERROR:(events_pg.scp,241)Undefined symbol 'your'
19:45:ERROR:(events_pg.scp,241)Undefined symbol 'email'

In the account is:

TAG.email="YOUR@EMAIL.HERE"
(This post was last modified: 08-15-2014 03:56 AM by Rizz.)
08-15-2014 03:54 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #2
RE: text in a TAG
what is line 241 in events.pg.scp? Also, have you tried surrounding the tag.email with "quotes"?

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
08-15-2014 03:57 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: text in a TAG
On the dialog:

PHP Code:
[DIALOG d_p_setemail button]

ON=1
src
.account.TAG.EMAIL=<ARGTXT[1]> 
08-15-2014 03:57 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #4
RE: text in a TAG
ah i think it's how you're setting it, try:
Code:
serv.account <src.account.name> tag.email <argtxt[1]>

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
08-15-2014 03:58 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #5
RE: text in a TAG
(08-15-2014 03:57 AM)Skul Wrote:  what is line 241 in events.pg.scp? Also, have you tried surrounding the tag.email with "quotes"?

I modified the message so you can see now the line and yes, inside the account i have " " in the tag.

(08-15-2014 03:58 AM)Skul Wrote:  ah i think it's how you're setting it, try:
Code:
serv.account <src.account.name> tag.email <argtxt[1]>

Nothing, same problem.

Should i try TAG.your@email.here=1 ? But then... how to check so many different email form... taglist?
(This post was last modified: 08-15-2014 04:22 AM by Rizz.)
08-15-2014 03:58 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #6
RE: text in a TAG
To check if a tag is empty or not, use <isempty <src.account.tag0.email>>
This might fix your problem.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-15-2014 05:47 AM
Find all posts by this user Like Post Quote this message in a reply
Skul
Master
**

Posts: 413
Likes Given: 0
Likes Received: 19 in 15 posts
Joined: Jun 2012
Reputation: 9



Post: #7
RE: text in a TAG
Well I'm clueless, I can only guess that the @ character might be causing the problem, what if you were to set TAG.EMAIL to 'plain text':
Code:
serv.account <src.account.name> tag.email plain text
Would that give you an error too?

"I ask a question to the answer I already know."

Marchadium :: http://www.marchadium.ca/ :: Join us!
08-15-2014 10:20 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #8
RE: text in a TAG
soulless added a add email that works..

Code:
[dialog d_email_registration]
100,100
resizepic 0 0 2620 345 165
checkertrans 12 13 320 140
dhtmlgump 17 17 310 50 1 0 Please take a moment and register your e-mail address with us for future updates.
resizepic 17 75 9350 310 30
dhtmlgump 20 80 50 30 0 0 E-Mail :
dtextentrylimited 75 80 250 15 0 0 40
button 30 125  242 243 1 0 0
button 250 125 248 249 1 0 1

[dialog d_email_registration button]
onbutton=1
  if <isempty <argtxt[0]>>
  sysmessage Email field can not be empty
  dialog d_email_registration
  return 1
  endif
  if !(strmatch(*@*,<argtxt[0]>)
  sysmessage That is not a valid email address
  dialog d_email_registration
  return 1
  endif

sysmessage Thank you <name>, The email address <argtxt[0]> has been linked to account <account.name>
account.tag.email <argtxt[0]>

thank might help you

[Image: htid.jpg]
08-15-2014 11:53 AM
Find all posts by this user Like Post Quote this message in a reply
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #9
RE: text in a TAG
Thx for all of your replies Smile
08-15-2014 05:06 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)