PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

User item value

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion
View previous topic :: View next topic  
Author Message
Aldoseri



Joined: 22 Apr 2008
Posts: 103
Location: Bahrain

PostPosted: Wed May 16, 2012 10:16 am    Post subject: User item value Reply with quote

Hi Richard,

I'm having problem showing user item value. It's not showing at all.

I sat a new user defined field where I input a URL to an external website. when I call the value it does not show up in link_a.txt

This is what I'm trying to do. Fill in a url when creating a new link then showing it on the website as the value of an a href like this

<a href="#%user_item_value_4%#" class="zzz">Link name</a>


But what I got is
<a href class="zzz">Link name</a>


Tested if I can get the value as normal text on the page but there was nothing, just a blank space.

Any Idea why I'm not able to retrieve the user defined value? It shows OK when creating the link and it's stored on the database. Am I doing something wrong? I also tried user_item_(no.) but it didn't work.
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6233

PostPosted: Wed May 16, 2012 1:34 pm    Post subject: Reply with quote

The variable is correct. Please make sure that also the user field number which you want to use is really 4.

However if the link in the source html code really looks like this:
<a href class="zzz">Link name</a>
Then the most likely reason is that it's removed by your computer. If the variable were not work, it should look like this:
<a href="" class="zzz">Link name</a>
I think that you may use a software which blocks ads and this software marked the link as an advertising and therefore removed it. If you want me to check it, please send me the URL.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group