Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Feb 2016, 00:06
madzat madzat is offline
 
Join Date: Sep 2006
Need Your Help Java And Fieldx

Hi All I just made simple Javascript to get Data from api. site for gaming my problem is if call the function i just get result @1st post and the reste No resulte and if i try to get player name from field5 i get blank can you help me plz to fixe this problem here my change

postbit_legacy i changet from

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

here the problem :
Players_Name = {vb:raw post.field5}
and the here the javascript

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Regards
Max
Reply With Quote
  #2  
Old 01 Feb 2016, 00:17
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
It only does the first occurrence because the JavaScript only gets executed once. You have to make some sort of array or find each occurrence of field5's existence for each post in the JavaScript.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 01 Feb 2016, 00:32
madzat madzat is offline
 
Join Date: Sep 2006
Originally Posted by Dave View Post
It only does the first occurrence because the JavaScript only gets executed once. You have to make some sort of array or find each occurrence of field5's existence for each post in the JavaScript.
Hi Dave thx for the fast replay
any simple exemple haw to get field5 from each post plz

i was thinking to make same thing like that


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

the problem is Players_Name = {vb:raw post.field5} is not working
if i added like that Not work

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and if i add any name like that is work

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

so my problem with {vb:raw post.field5} how to catch

Thx again
Reply With Quote
  #4  
Old 01 Feb 2016, 00:36
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
It's easier if you link us (or PM me) to the forum where you're trying this out so I can play around with it. Regarding the second thing, you're probably forgetting the quotes around it:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #5  
Old 01 Feb 2016, 15:02
madzat madzat is offline
 
Join Date: Sep 2006
Originally Posted by Dave View Post
It's easier if you link us (or PM me) to the forum where you're trying this out so I can play around with it. Regarding the second thing, you're probably forgetting the quotes around it:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
i just delited the <vb:literal> </vb:literal> and i get working but i still thinking haw to make function to find each occurrence of field5 in the JavaScript

the problem if i print Players_Name = field5 in the javascript all i time i get just last post name and the result @1st post with false name of last post
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML, TXT, JAVA Integrator 2.0 Automatically display any HTML, TXT or JAVA file in vB Erwin vBulletin 2.x Full Releases 102 11 Oct 2005 15:55



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:16.

Layout Options | Width: Wide Color: