Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 01-20-2006, 03:33 PM
Ragnarok's Avatar
Ragnarok Ragnarok is offline
 
Join Date: Dec 2005
Location: Canada
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit: Works perfectly, thanks ^^
Reply With Quote
  #12  
Old 01-22-2006, 04:54 PM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after changing these templates, it wont let me rep anyone else, it says u cant rep to the same post twice

and how would i make it open in small window instead of big ones?
Reply With Quote
  #13  
Old 01-22-2006, 05:17 PM
Ragnarok's Avatar
Ragnarok Ragnarok is offline
 
Join Date: Dec 2005
Location: Canada
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cuphongle
after changing these templates, it wont let me rep anyone else, it says u cant rep to the same post twice
You'll want to check your reputation settings. If you're unhappy with the limits placed on it, then you can change them. And I don't believe it is possible to give reputation for the same post twice.

vBulletin Options > User Reputation Options > Reputation User Spread

Quote:
and how would i make it open in small window instead of big ones?
The popup window *is* a small window, unless you have a different definition of "small."
Reply With Quote
  #14  
Old 01-22-2006, 05:30 PM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh no, i tried to give repz to a different post, thats what it says.....

and the window its big when i open it, like full window

http://www.yndforum.com/
Reply With Quote
  #15  
Old 01-22-2006, 05:41 PM
Ragnarok's Avatar
Ragnarok Ragnarok is offline
 
Join Date: Dec 2005
Location: Canada
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you follow all of the directions?

1. In /clientscript/vbulletin_global.js,

Find:
Code:
/**
* Opens a window to show a list of posters in a thread (misc.php?do=whoposted)
Before, Add:
Code:
/**
* Opens the reputation window
*
* @param	integer	Post ID
*
* @return	boolean	false;
*/
function reputation(postid)
{
	return openWindow(
		'reputation.php?' + SESSIONURL + 'p=' + postid,
		400, 241, 'Reputation'
	);
}
2. In template postbit or postbit_legacy, find:
Code:
<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
Replace with:
Code:
<if condition="$show['reputationlink']"><a href="#" onclick="reputation($post[postid]); return false;"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
3. Replace the following templates with the above posted templates:
1. reputation
2. reputationbit
3. reputation_yourpost





As for window size- It looks to me as being determined by this phrase, added into vbulletin_global.js,

PHP Code:
{
    return 
openWindow(
        
'reputation.php?' SESSIONURL 'p=' postid,
        
400241'Reputation'
    
); 
Change the numbers to whatever dimensions you like, and it should change the size of the window.
Reply With Quote
  #16  
Old 01-22-2006, 05:44 PM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awww man, i appreciate it, i didnt see the first one
Reply With Quote
  #17  
Old 01-22-2006, 05:47 PM
Ragnarok's Avatar
Ragnarok Ragnarok is offline
 
Join Date: Dec 2005
Location: Canada
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to help! I found it a bit confusing to follow myself so I'm glad for an excuse to make it easier.
Reply With Quote
  #18  
Old 01-22-2006, 05:53 PM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

everything is working now, but now everytime i try to rep someone, it says "You cannot give Reputation to the same post twice." but its not, i never rep it before, i also try creating new users name to test it out, but its still the same
Reply With Quote
  #19  
Old 01-22-2006, 06:40 PM
Ragnarok's Avatar
Ragnarok Ragnarok is offline
 
Join Date: Dec 2005
Location: Canada
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cuphongle
everything is working now, but now everytime i try to rep someone, it says "You cannot give Reputation to the same post twice." but its not, i never rep it before, i also try creating new users name to test it out, but its still the same
Best I could suggest is to undo and then redo all of your modifications. Revert your templates, reupload your files, and try again.

But then I'm no expert on this. It worked for me so I can't see why it wouldn't work for you. :/
Reply With Quote
  #20  
Old 01-22-2006, 07:54 PM
cuphongle cuphongle is offline
 
Join Date: Jul 2005
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea, i will try to fix it
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 06:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04272 seconds
  • Memory Usage 2,247KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete